@hackage distributed-process-zookeeper0.2.1.0

A Zookeeper back-end for Cloud Haskell.

Provides service and node discovery for Cloud Haskell applications using a Zookeeper cluster for name registration, lookups and leader election. Uses the hzk bindings to the Zookeeper multi-threaded C library.

Objectives and features:

  • Compatible with distributed-process-p2p API - can work as a drop-in replacement.

  • No dependencies beyond those already included by distributed-process, hzk and network-transport-tcp.

  • Automatic registration of local names to Zookeeper.

  • Global singleton processes with leader election and re-elections on leader exit.

Check out the example.