note 61053 added to ref.session
| From: | jerry dot walsh at gmail dot com | Date: | Tue, 24 Jan 2006 14:56:44 +0000 |
| Subject: | note 61053 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-102362@lists.php.net to get a copy of this message | ||
If you're using sharedance to distributed php sessions across a group of machines beware of the
following:
On a freebsd 6.x system I have observed a huge performance hit caused by dns/host file lookups.
To ensure maximum performance using sharedance you should set the 'SESSION_HANDLER_HOST'
constant to an IP rather than a hostname.
When i did this my requests per second jumped from 55 to 389 requests per second!
----
Server IP: 84.18.202.180
Probable Submitter: 62.17.252.186
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+61053
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61053&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61053&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61053&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61053&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61053&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61053&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61053&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+61053&report=yes
Search -- http://master.php.net/manage/user-notes.php