distributed-process-zookeeper

A Zookeeper back-end for Cloud Haskell.

https://github.com/jeremyjh/distributed-process-zookeeper

Latest on Hackage:0.2.3.0@rev:1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Jeremy Huffman
Maintained by [email protected]

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.