Is memcached a good way to store session share ammong web servers?

Kevin Burton burton at
Thu Nov 16 04:09:35 UTC 2006

We (Tailrank) are using memcached to store PHP sessions. I can publish the
code if anyone's interested.  We basically save/restore $_SESSION within

We over provision our memcached nodes so the LRU GC doesn't kick in.

It works really well.  This also means that our load balancer can be stupid
as hell and doesn't need to worry about what HTTP server to send a user
since any machine has access to the session anywhere with the cluster.

On 11/12/06, howard chen <howachen at> wrote:
> Anyone used memcached to store sessions?
> Are there any special thing need to take care of? e.g. session expire?
> Thanks.

Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Cell: 415-637-8078
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the memcached mailing list