Re: [GENERAL] php and connection

2010-06-30 Thread Szymon Guz
2010/6/30 Thom Brown > On 30 June 2010 19:43, Joshua D. Drake wrote: > > On Wed, 2010-06-30 at 20:42 +0200, Szymon Guz wrote: > >> Hi, > >> in a PHP application working on Postgres normally the new connection > >> to the database is made per request. > >> > >> > >> This can potentially cause too

Re: [GENERAL] php and connection

2010-06-30 Thread Thom Brown
On 30 June 2010 19:43, Joshua D. Drake wrote: > On Wed, 2010-06-30 at 20:42 +0200, Szymon Guz wrote: >> Hi, >> in a PHP application working on Postgres normally the new connection >> to the database is made per request. >> >> >> This can potentially cause too big overhead, so I've got some >> ques

Re: [GENERAL] php and connection

2010-06-30 Thread Joshua D. Drake
On Wed, 2010-06-30 at 20:42 +0200, Szymon Guz wrote: > Hi, > in a PHP application working on Postgres normally the new connection > to the database is made per request. > > > This can potentially cause too big overhead, so I've got some > questions: > > > - is the overhead really noticeable?

[GENERAL] php and connection

2010-06-30 Thread Szymon Guz
Hi, in a PHP application working on Postgres normally the new connection to the database is made per request. This can potentially cause too big overhead, so I've got some questions: - is the overhead really noticeable? - could this be solved using persistent connections, or the persistent connec