package balancer

  1. Overview
  2. No Docs
A collection of load balancing algorithms implemented in pure Ocaml

Install

Authors

Maintainers

Sources

v1.0.tar.gz
md5=9dc229881dfea7372e065feb1572afba

Description

The supported Algorithms are Power of two choices, P2C with Partial Key Grouping (Kafka uses this) , Round Robin, Consistent Hashing, and Consistent Hashing + Least loaded.

Each loadbalancer supports state updates via react (making it easier to work service discovery utilities), along with manually removing and deleting nodes.

Also included are utilities for thread safe shared state under Balancer.Util.

Dependencies (7)

  1. react
  2. hex
  3. lwt
  4. cstruct < "6.1.0"
  5. fmt
  6. jbuilder >= "1.0+beta7"
  7. ocaml

Dev Dependencies

None

Used by

None

Conflicts

None