摘要:        
python有一个python模块--hash_ring,即python中的一致性hash,使用起来也挺简单。可以参考下官方例子:https://pypi.python.org/pypi/hash_ring/ 1 Basic example of usage (for managing memcached instances): 2 3 memcache_servers = ['192.168.0.246:11212', 4 '192.168.0.247:11212', 5 '192.168.0.249:1121...    阅读全文
        
            posted @ 2013-07-28 21:22
good90
阅读(2744)
评论(0)
推荐(0)
        
        
                    
                
浙公网安备 33010602011771号