Re: Why is this system swapping?
| От | Josh Berkus |
|---|---|
| Тема | Re: Why is this system swapping? |
| Дата | |
| Msg-id | 200504271702.49992.josh@agliodbs.com обсуждение исходный текст |
| Ответ на | Re: Why is this system swapping? (Greg Stark <gsstark@mit.edu>) |
| Список | pgsql-performance |
Greg, > In fact I think it's generally superior to having a layer like pgpool > having to hand off all your database communication. Having to do an extra > context switch to handle every database communication is crazy. Although, one of their issues is that their database connection pooling is per-server. Which means that a safety margin of pre-allocated connections (something they need since they get bursts of 1000 new users in a few seconds) has to be maintained per server, increasing the total number of connections. So a pooling system that allowed them to hold 100 free connections centrally rather than 10 per server might be a win. Better would be getting some of this stuff offloaded onto database replication slaves. -- --Josh Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-performance по дате отправления: