Re: session question

From: Date: Fri, 22 Jun 2001 02:06:52 +0000
Subject: Re: session question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-54828@lists.php.net to get a copy of this message
I have the load balancing all setup, which is why i didn't want to use normal file sessions. I have one more question though, I read that tutorial and got it to work perfect, it is too easy. I am just wondering, is using a library like phplib more efficient or is this very efficient itself (i mean are the built in functions pretty effieicnt)? That is my primary concern because of the # of users....thanks again! -derick ----- Original Message ----- From: "Peter Dudley" <peter@peterdudley.com> To: <php-general@lists.php.net> Sent: Thursday, June 21, 2001 8:47 AM Subject: Re: [PHP] session question > There is a useful article here: > http://phpbuilder.com/columns/ying20000602.php3?page=1 > > As to "up to a million users" logged in at once... don't you wantto have > multiple redundant web servers running under a load balancer? If the rest > of your system can handle that many concurrent users, then I doubt PHP > sessions will be much more of a strain on your system... unless you're > storing some huge amount of data in each session. > > Pete. > > > ""Moax Tech List"" <moaxtechlist@moax.com> wrote in message > news:00b101c0fa15$e47c4320$9865fea9@moax01... > > I am setting up a website with a need to use some sort of > > session management for a large amount of users. I cannot > > use typical file based session managment because at any > > given time there could be up to a million users logged in > > at once. (It is a LAMP linux/apache/php4/mysql system). > > I am a bit confused though as how to go about this. The > > user will be authenticated by verifying a username/password > > combo in a database, and then a session created. > > My question is this: > > After authentication, which type of session managment > > should I use? I mean, just do the standard php stuff with > > the session_ functions? (wo'nt this be bad with the # of > > simoltaneous users i need to support, because of the # of > > files on the server?) Or, shall I use something more complex > > like PHPLIB or create my own scheme using mysql? Is > > there any exisiting code/functions that can make creating > > my own scheme easier in order to support mysql or am i > > way off with this question? I just need a bit of direction > > here and any help is appreciated. Thanks! > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#54828) next »