[wp-hackers] Persistent connections

Jeff Waugh jdub at bethesignal.org
Thu Mar 18 18:22:31 UTC 2010


<quote who="Andrew Gray">

> Does anyone have an opinion on using persistent DB connections (altering
> the DB.php to user mysql_pconnect instead) Has anyone with a high volume
> site seen an improvement by making this change.  

There's basically no point -- unlike many other DB platforms, the latency
and overhead of bringing up a MySQL connection is practically nothing. You
are *vastly* more likely to be waiting for all kinds of other things. :-)

- Jeff

-- 
The Great Australian Internet Blackout   http://www.internetblackout.com.au/
 
     "It's pretty hard to reinvent the wheel in Python, because so many
               awesome wheels already exist." - Colin Walters


More information about the wp-hackers mailing list