tooz/doc/source/tutorial/partitioner.rst
Julien Danjou 9ad740fa1e Add partitioner implementation
Add a new object called `Partitioner' which is based on the consistent
hashring implementation of tooz.hashring. The coordinator API allows to
create such an object and to use it to dispatch objects ownership across
several workers.

Change-Id: Iae8c861d5b6c15b714f1ec3bd7090d15dd468421
2017-01-01 19:03:40 +01:00

384 B

Partitioner

Tooz provides a partitioner object based on its consistent hash ring implementation. It can be used to map Python objects to one or several nodes. The partitioner object automatically keeps track of nodes joining and leaving the group, so the rebalancing is managed.

../../../examples/partitioner.py