I'm using the python-memcache library, and I'm wondering if anyone knows if consistent hashing is used by that client as of 1.44.
+2
A:
From a quick view into the source code: No it does not. It uses server = hash_key % len(servers)
and round-robin if offline/full servers are encountered.
ebo
2009-05-29 17:03:10
Yeah my bad, I should have viewed the source myself. Thanks.
jay_soo
2009-06-01 13:22:16