Re: [PDO] Question on Persistent PDO Connections

[email protected] (Lukas Kahwe Smith) Fri, 6 Nov 2009 00:43:35 +0100
Newsgroups php.pdo
Message-ID <[email protected]>
On 05.11.2009, at 19:00, Christopher Jones wrote:

> I believe the overall PHP ethos of non-persistent vs persistent
> connections was that they should behave the same way to the
> application; meaning that no assumption about the state of the
> connection can be made, since it might be brand new.  I think this
> should also be true for pooled connections.


well for mysql traditonally persistent connections came with the risk  
of an unclean session. i guess there is now a solution to clean up the  
session fairly well, making persistent connections more feasible,  
especially since more and more people are starting to not necessarily  
have a slave running on the same box as their webserver (where unix  
sockets were so quick to open it didnt really make sense to bother  
with persistent connections).

regards,
Lukas Kahwe Smith
[email protected]