RE: [PHP] load balancing with php/apache?
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | RE: [PHP] load balancing with php/apache? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-34387@lists.php.net to get a copy of this message | ||
The session id is not an issue, but yes, obviously you will need to store
the session data itself somewhere where all the machines can get at
it. So either on a common NFS share, ldap or some sort of
database. PHP's session handling allows you to write your own backend
session datastore functions using session_set_save_handler()
http://php.net/manual/en/function.session-set-save-handler.php
-Rasmus
On Sat, 13 Jan 2001, Cal Evans wrote:
> How does it deal with sessions? Or do use store sessions in the database?
>
> Cal
>
> -----Original Message-----
> From: Joe Stump [mailto:jstump@zebulon.miester.org]
> Sent: Saturday, January 13, 2001 11:22 AM
> To: Rasmus Lerdorf
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] load balancing with php/apache?
>
>
> > http://www.linuxvirtualserver.org/
>
> We use LVS on our website - it works great! We have 2 load balancers with
> the
> HA package and 6 PHP webservers running behind it (with a central DB
> server).
>
> In short, it's possible and works quite well. BTW We user FreeBSD for
> webservers
> if that's any help (though linux, NT, solaris, etc would all work)
>
> --Joe
>
>
>
>
> > http://linas.org/linux/load.html
> >
> > -Rasmus
> >
> >
> > --
> > 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
>
> --
>
> Joe Stump, PHP Hacker
> joestump98@yahoo.com
> http://www.miester.org/
>
>
> --
> 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
>
>
>
> --
> 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
>
>