Re: too many clients

Поиск
Список
Период
Сортировка
Искать
От
Mitch Pirtle
Тема
Re: too many clients
Дата
Msg-id
330532b604122909216fccf38c@mail.gmail.com
Ответ на
Re: too many clients (Matthew Terenzio)
Список
Дерево обсуждения
too many clients Matthew Terenzio <webmaster@localnotion.com>
Re: too many clients Mitch Pirtle <mitch.pirtle@gmail.com>
Re: too many clients Matthew Terenzio <webmaster@localnotion.com>
Re: too many clients Mitch Pirtle <mitch.pirtle@gmail.com>
Re: too many clients Frank Bax <fbax@sympatico.ca>
Re: too many clients "Gavin M. Roy" <gmr@ehpg.net>
Re: too many clients Greg Stark <gsstark@mit.edu>
Re: too many clients "Gavin M. Roy" <gmr@ehpg.net>
Re: too many clients Matthew Terenzio <webmaster@localnotion.com>
Re: too many clients "Gavin M. Roy" <gmr@ehpg.net>
Re: too many clients Frank Bax <fbax@sympatico.ca>
Re: too many clients Frank Bax <fbax@sympatico.ca>
On Wed, 29 Dec 2004 12:12:13 -0500, Matthew Terenzio
 wrote:
> 
> On Dec 29, 2004, at 11:38 AM, Mitch Pirtle wrote:
> 
> I don't exactly understand the technical difference between pooled
> connections and persistent ones.
> 
> pg_pconnect() is grabbing an existing open connection if one is
> available.

It is, but I am told that it is not really very efficient, and so
pg_connect will actually give you better performance on heavy-load
sites.  Again, I've heard this but cannot substantiate.

> How is  a connection pool more efficient in doing something along these
> lines?

The pool is specifically designed to do just that - manage connections
and keep existing ones maintained - so it is lightweight and fast. 
You can get more info here:

    http://sqlrelay.sourceforge.net/sqlrelay/faq.html

I've used it for Oracle-powered sites, as well as putting something
sane between zope/plone and both Oracle and MS SQL.

-- Mitch
В списке pgsql-php по дате отправления
От: Matthew Terenzio
Дата:
Сообщение: Re: too many clients
От: Frank Bax
Дата:
Сообщение: Re: too many clients
FAQ