note 11779 added to mysql_pconnect

From: Date: Tue, 06 Mar 2001 21:13:39 +0000
Subject: note 11779 added to mysql_pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-11970@lists.php.net to get a copy of this message
Persistent connections are a great way to bring your server to its knees by eating all memory and file descriptors, specially if you have a lot of small requests. If your DB daemon and your HTTP daemon run on the same machine, it's better to use non-persistent connections, as the overhead to create a link will be very small and you'll be able to serve MUCH more simultaneous requests before swapping out like hell... :) http://www.php.net/manual/en/function.mysql-pconnect.php

« previous php.notes (#11970) next »