perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe de Jesús Molina Bravo <fjmolinabr...@gmail.com>
Subject Re: best practie for open and close connection database
Date Wed, 21 Apr 2010 18:24:26 GMT
El 21 de abril de 2010 17:33, Chris Bennett
<chris@bennettconstruction.biz>escribió:

> On 04/21/10 11:33, Felipe de Jesús Molina Bravo wrote:
>
>> Hi
>>
>> In my application, I opened my database from authentication handler and
>> close it from child exit handler. It is correct (is a best practice)? or
>> is a bad design?
>>
>> where i can read for best practice for it?
>>
>> thank's
>>
>>
>>
>>  Are you using Apache::DBI?
>

no ....

Is it a local database server or remote?


remote


> Are you almost always using the same database and user? Or mixed?
>

yes... I have a connection pool in database server (pgbouncer + pgsql 8.4 i)


thanks to all for your answares

Mime
View raw message