pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Clark, Joel <jclark@lendingtree.com>
To: 'Tom Samplonius' <tom@sdf.com>
To: Adam Lang <aalang@rutgersinsurance.com>
Cc: pgsql-interfaces@postgresql.org
Subject: RE: PG on a web-server...issues..and some general qu estions on PG deployment
Date: Fri, 22 Dec 2000 14:33:48 -0500
Message-ID: <69F195289743D411B428009027E293C402671096@CLTEXCH1> (raw)

I think you get a persistent connection per httpd process, no?  If this
really is the case, you could then limit your connection count by limiting
the number of times that apache will spawn a new process (10 is default,
IIRC)  This isn't exactly true pooling, but should be flexible enough to
meet the intent...  :)

Joel

-----Original Message-----
From: Tom Samplonius [mailto:tom@sdf.com]
Sent: Friday, December 22, 2000 11:39 AM
To: Adam Lang
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] PG on a web-server...issues..and some general
questions on PG deployment



On Fri, 22 Dec 2000, Adam Lang wrote:

> > 3. Is PHP/Postgres module capable of server side connection pooling?
> 
> Yes.

  The PHP docs are very clear to not referr to it is pooling, but
persistant connections.  They are very different things.  PHP as a whole
is not capable of pooling, because a separate instance of PHP runs in each
httpd process, and those instances can not shared database connections
between them.

Tom



view thread (5+ messages)  latest in thread

Message-ID: <69F195289743D411B428009027E293C402671096@CLTEXCH1>
Permalink:  ../69F195289743D411B428009027E293C402671096@CLTEXCH1/
Also on:    postgresql.org/message-id/69F195289743D411B428009027E293C402671096@CLTEXCH1

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: jclark@lendingtree.com, tom@sdf.com, aalang@rutgersinsurance.com
  Subject: Re: PG on a web-server...issues..and some general qu estions on PG deployment
  In-Reply-To: <69F195289743D411B428009027E293C402671096@CLTEXCH1>
  References: <69F195289743D411B428009027E293C402671096@CLTEXCH1>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox