Re: Sessio variables and Load Balancing

From: Date: Fri, 30 Jun 2000 19:10:25 +0000
Subject: Re: Sessio variables and Load Balancing
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-23076@lists.php.net to get a copy of this message
> How do we all know that NFS is unreliable under Linux? Why is it > unreliable and were do I find documentation to support this? I've heard > people say this, but never with any information to back that up.. seems > more of a "feeling". Search around if you want to see reports of unreliability and performance problems with NFS. There've been a couple Ask Slashdots about it, with the general conclusion that recent kernels are much better than the old ones. > It might be an *easier*solution to use the database to store sessions, but > if you have thousands of visitors per day.. you will begin to drag your > database server to the pits of hell with the number of queries you will be > making just to retrieve session data, not counting the queries you would > already be making to serve various dynamic content. Not recommended for a If you're using MySQL or a well-tuned Oracle install, this won't be a big deal at all. Retrieving a record on an indexed column is extremely fast. If the single query necessary to retrieve a session's data measurably affects your site performance, your database is either severely underspeced or your DBA should be fired for gross incompetence.

« previous php.dev (#23076) next »