摘要: php /** *@author:xiaojiang 20140222 * 一致性哈希php 实现 */ class MyHash{ //虚拟节点数 private $_virtualCounts = 2; //虚拟节点集合 private $_circleItems = array(); //实... 阅读全文
posted @ 2014-02-22 18:53 ﹏Sakura 阅读(2296) 评论(1) 推荐(1) 编辑