Download the PHP package chxj1992/hashring without Composer
On this page you can find all versions of the php package chxj1992/hashring. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download chxj1992/hashring
More information about chxj1992/hashring
Files in chxj1992/hashring
Download chxj1992/hashring
More information about chxj1992/hashring
Files in chxj1992/hashring
Vendor chxj1992
Package hashring
Short Description Consistent hashing "hashring" implementation in php (using the same algorithm as libketama)
License MIT
Package hashring
Short Description Consistent hashing "hashring" implementation in php (using the same algorithm as libketama)
License MIT
Please rate this library. Is it a good library?
Informations about the package hashring
HashRing
<img src="http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-4.png" width="80" height="15" alt="WTFPL" />
Implements consistent hashing that can be used when the number of server nodes can increase or decrease (like in memcached). The hashing ring is built using the same algorithm as libketama.
Inspired by a golang hashring library serialx/hashring.
Using
Install ::
Basic example usage ::
Using weights example ::
Adding and removing nodes example ::
All versions of hashring with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package chxj1992/hashring contains the following files
Loading the files please wait ....