DriversΒΆ

Tooz is provided with several drivers implementing the provided coordination API. While all drivers provides the same set of features with respect to the API, some of them have different properties:

  • zookeeper is the reference implementation and provides the most solid features as it’s possible to build a cluster of ZooKeeper that is resilient towards network partitions for example.
  • memcached is a basic implementation and provides less resiliency, though it’s much simpler to setup. A lot of the features provided in tooz are based on timeout (heartbeats, locks, etc) so are less resilient than other backends.
  • ipc is based on Posix IPC and only implements a lock mechanism for now. The lock can only be distributed locally to a computer processes.
  • zake is a driver using a fake implementation of ZooKeeper and can be used to use Tooz in your unit tests suite for example.

Previous topic

Installation

Next topic

Using Tooz in Your Application

This Page