Using Multiple Memcache Servers In A Pool
I'm going through the documentation and I'm a little confused as to how memcache does internal load-balancing if multiple servers are specified. For example: import memcache mc.se
Solution 1:
memcached places keys on servers based on a hash of the key. As long as your server setup doesn't change, then a given key will always land on a given server.
Post a Comment for "Using Multiple Memcache Servers In A Pool"