一致性hash算法之php实现

源码地址:https://github.com/killallspree/myFrame/blob/master/framework/components/Flexihash.php

原文地址:https://www.cnblogs.com/killallspree/p/4191644.html