Re: Connection pooling

Поиск
Список
Период
Сортировка
От Gilles DAROLD
Тема Re: Connection pooling
Дата
Msg-id 3A7161E7.46CDF35B@darold.net
обсуждение исходный текст
Ответ на Re: Connection pooling  (Alex Pilosov <alex@pilosoft.com>)
Ответы Re: Connection pooling
Список pgsql-general
Hi,

Just to repeat that we have this stuff enabled using perl and mod_perl for a
very
long time. Just try to declare all your vars as global (without my or local)
and
see what's append between apache child process :-)

But as I know Apache::DBI doesn't do db connexion pooling, this is a
mistake.
It just allows you to create persitante connexion. But you can declare
multiple
persistante connection and do a random access to each one if your really
need
to play with that. Personnaly I never had to use that, but I think that with
a site
with a large amout of simoultaneous user it can be usefull.

Regards

Alex Pilosov wrote:

> On Thu, 25 Jan 2001, Frank Joerdens wrote:
>
> > How's that supposed to work? Apache is a multi-process web server.
> > Connection pooling over all Apache children that are currently alive on
> > a web server would require some kind of inter-process communication,
> > which I don't think Apache supports (am I mistaken?).
>
> That's what Apache 2.0 is about. It will be able to run in a multi-thread
> mode, or in multi-process mode with some data shared via shared memory.
>
> -alex


В списке pgsql-general по дате отправления:

Предыдущее
От: Rajit Singh
Дата:
Сообщение: SQL Queries across multiple databases
Следующее
От: Kassu Valtakari
Дата:
Сообщение: Connection pooling with C and libpq