[nycphp-talk] sessions and load balancing
Matthew Terenzio
webmaster at localnotion.com
Mon Nov 8 15:40:49 EST 2004
On Nov 8, 2004, at 3:15 PM, Adam Maccabee Trachtenberg wrote:
> On Mon, 8 Nov 2004, Matthew Terenzio wrote:
>
>> For applications using sessions, what are some strategies for being
>> able to scale to a multiple box level?
>
> * Store session on client (cookies)
Will forcing sessions to use cookies solve the problem completely. Can
you think of any issues that might arise?
Forgive me for asking before I look, but it seems like a DB backed
session solution would be a great PEAR project.
> * Store session on separate database server shared among all web
> servers (probably the way to go at first).
> * Use specialized session server (like msession)
> * Store sessions on all db servers and do replication (harder because
> it requires your updates not to lag)
>
> -adam
>
> --
> adam at trachtenberg.com
> author of o'reilly's "upgrading to php 5" and "php cookbook"
> avoid the holiday rush, buy your copies today!
> _______________________________________________
> New York PHP Talk
> Supporting AMP Technology (Apache/MySQL/PHP)
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.newyorkphp.org
More information about the talk
mailing list