PHP Predis\Cluster\Distributor Namespace

Interfaces

Name Description
DistributorInterface A distributor implements the logic to automatically distribute keys among several nodes for client-side sharding.

Classes

Name Description
HashRing This class implements an hashring-based distributor that uses the same algorithm of memcache to distribute keys in a cluster using client-side sharding.
KetamaRing This class implements an hashring-based distributor that uses the same algorithm of libketama to distribute keys in a cluster using client-side sharding.