[nylug-talk] Sharing state between frontend web servers

Eugene Jen craigs.nyc.eugene at gmail.com
Mon Jul 2 19:28:07 EDT 2007


Memcached is also can be used for this. In case of php,
the session handler can always be overwritten by your customized
one to use memcached or database. If you want the apache httpd
or lighttpd's session to store stuffs into database or memcached,
I guess either a mod exists already or you need to create the customized
mod that uses those storage device. Compared with NFS, memcached
has much smaller overhead and management issues. The only drawback
is if your memcached server crashes, you will lost session data. But
if you look at danga.com, you can see how people uses it.

Eugene


More information about the nylug-talk mailing list