@hackage / distributed-process-zookeeper

A Zookeeper back-end for Cloud Haskell.

Latest0.2.3.0

About

Metadata

  • Last updated , by jeremyjh
  • License BSD-3-Clause
  • Maintained by: jeremy@jeremyhuffman.com

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    zkexamples (off by default)

    Build example programs.

Readme

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.