Re: Sessio variables and Load Balancing

From: Date: Fri, 30 Jun 2000 10:05:02 +0000
Subject: Re: Sessio variables and Load Balancing
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-23015@lists.php.net to get a copy of this message
Why? If they're using a shared database and a load-balancing system then only one at a time's accessing the data and/or making changes. Why would either one care? Am I missing something? -Szii At 09:21 AM 6/30/00 +0300, Stanislav Malyshev wrote: >JB>> But we all know how unreliable and slow NFS is on linux and probably other >JB>> platforms, a better solution is to use your database of choice and store >JB>> cookies there. >JB>> An article on phpbuilder.com >JB>> (http://phpbuilder.com/columns/ying20000602.php3) highlights how to write >JB>> custom session handlers to do just that. >JB>> not only would this be fast and effecient, it would allow multiple webserver >JB>> to pull sessions from a common database. > >One should be aware, though, that if 2 scripts use same session data in >parallel, they'll get unexpected results. >-- >Stanislav Malyshev stas@zend.com >+972-3-6139665 > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >For additional commands, e-mail: php-dev-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.dev (#23015) next »