NYCPHP Meetup

NYPHP.org

[nycphp-talk] sessions and load balancing

Adam Maccabee Trachtenberg adam at trachtenberg.com
Mon Nov 8 15:15:15 EST 2004


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)
* 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!



More information about the talk mailing list