From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | andy <andy(at)squeakycode(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Monitoring number of backends |
Date: | 2013-10-22 18:50:23 |
Message-ID: | 20131022185023.GC2706@tamriel.snowman.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
* andy (andy(at)squeakycode(dot)net) wrote:
> If I did plugin pg_bouncer, is it worth switching my php from
> pg_connect to pg_pconnect?
No, let pg_bouncer manage the connection pooling. Having two levels of
pooling isn't a good idea (and pg_bouncer does a *much* better job of it
anyway, imv..).
> I'd bet plugging in pg_bouncer now while I'm not too busy would help
> me grow in the long run, huh? I like the sound of that. Thanks!
Yes. Note that, as you scale, you can actually connect pg_bouncers to
other pg_bouncers and play other fun games like having pg_bouncer switch
which servers it's connecting to transparently to the app..
Thanks,
Stephen
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2013-10-22 18:59:42 | Re: how to get the connected session pointer ( Archive * AH) |
Previous Message | andy | 2013-10-22 18:25:03 | Re: Monitoring number of backends |