I can't find documentation on the behavior of ActiveSupport::Cache::MemCacheStore anywhere, and I'm hoping someone here can shed some light. The rdoc says:
"Clustering and load balancing. One can specify multiple memcached servers, and MemCacheStore will load balance between all available servers. If a server goes down, then MemCacheStore will ignore it until it comes back up."
Ok. I want the last feature, so if a memcache server goes down the whole stack doesn't fail. But I need to understand the load balancing feature. I assume it doesn't just round robin requests, as that would result in unnecessary cache misses, it seems. Also, I'm using memcache for sessions, so I wouldn't want someone logged in to suddenly not have a session because memcache client "load balanced" that request to a server that doesn't have that session...
Can someone help me understand how the "load balancing" feature works?