Hi Henrik, thanks for the answer. You just clear my mind. On Fri, Feb 3, 2012 at 6:20 PM, Henrik Schröder <[email protected]> wrote:
> On Thu, Feb 2, 2012 at 10:16, Robert Hanson <[email protected]> wrote: > >> I don't mind at all, but the question is... >> >> If i'm using DNS round robin as load balancing method, then user A is >> handled by server 1, > > > Yes. > > > >> his PHP session also stored on that server 1, > > > No. It will be stored on whatever memcached server in your cluster that is > responsible for the specific key that session data is stored under. The > whole point of memcached is that it is a distributed cache. Each client > (your PHP web app in this case) knows of all memcached servers in the > cluster, and knows which keys are stored on which server. That way, every > object you store only gets stored on one of the servers, and everyone knows > how to get it. > > > /Henrik >
