memcache.server should support multiple servers
Closed this issue · 2 comments
oremj commented
https://github.com/bradfitz/gomemcache/ supports multiple servers and shards keys out amongst them. We should let memcache.server take multiple servers split with ";" e.g.,
memcache.server = 127.0.0.1:11211;10.10.10.1:11211;10.10.10.2:11211
jrconlin commented
This will require app level key sharding based on UAID and modification of the storage library.
mostlygeek commented
Looks like in the code you can specify your own server selection code. The default one is a modula number of servers there are. Good enough for now I think... eventually a libketama implementation would be nicer. That is if we don't just rip out the memcache stuff .. ;)