php and connection

From: Szymon Guz <mabewlun(at)gmail(dot)com>
To: PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: php and connection
Date: 2010-06-30 18:42:17
Message-ID: AANLkTinezrVgmIFQbZPklBVo94VFvFbiY7AHW0gMfiKZ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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
connections in php and postgres don't work properly?
- could this be solved using something like pgpool?

regards
Szymon

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2010-06-30 18:43:25 Re: php and connection
Previous Message Zoid 2010-06-30 18:24:28 LINE 1: IDENTIFY_SYSTEM error infinitum