一致性hash算法之php实现 源码地址:https://github.com/killallspree/myFrame/blob/master/framework/components/Flexihash.php