Re: Random server overload
От | Kevin Grittner |
---|---|
Тема | Re: Random server overload |
Дата | |
Msg-id | 1380725925.87939.YahooMailNeo@web162906.mail.bf1.yahoo.com обсуждение исходный текст |
Ответ на | Re: Random server overload (Igor Neyman <ineyman@perceptron.com>) |
Список | pgsql-admin |
Igor Neyman <ineyman@perceptron.com> wrote: >> Our Java application uses c3p0 connection pooler and we don't >> think that it's the issue. > > "Client-side" connection pooling is different from server-side > (such as PgBouncer), and I believe is not as effective as > PgBouncer. In my experience a good client-side pooler can be more effective -- if all significant traffic is going through a single pooler and the pool size is set appropriately. For example, we improved performance on a 16 code 256 GB server by reducing the pool size of the web application (handling hundreds of requests per second from 3000 concurrent users) from a maximum of 60 database connections to 35. http://wiki.postgresql.org/wiki/Number_Of_Database_Connections > As you stated in original message you have multiple idle > connections, that's waste of resources. ... and a risk that if they all become active at one time, you can have a seemingly-random server overload. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-admin по дате отправления: