note 36042 added to function.pfsockopen

From: Date: Tue, 23 Sep 2003 20:15:58 +0000
Subject: note 36042 added to function.pfsockopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-56991@lists.php.net to get a copy of this message
Persistent connections either in socket or databases should be used only in servers where the limits are well defined. For example, the number of allowed connections in a database must be greater than the number of Apache's processes, or the connections will be refused by the database (this will surely occur if you use persistent connections). The same may occur with socket connections. This is up to the service configuration. In my opinion, persistent connections are useful only if you have total control over the one or more servers involved, like on a heavy loaded dedicated server for example, where the little gain in performance worth the use of such connections. Never use them in a shared server. ---- Manual Page -- http://www.php.net/manual/en/function.pfsockopen.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36042 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36042&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36042&report=yes

« previous php.notes (#56991) next »