balancer

AuthorSam Riyad
LicenseMIT
Homepagehttps://github.com/xnukernpoll/ocaml-balancers
Issue Trackerhttps://github.com/xnukernpoll/ocaml-balancers/issues
Tagsnetworking, load balancing and scalability
MaintainerSam Riyad
Dependencies
&cstruct
fmt
hex
jbuilder
lwt
react
PublishedAug 8, 2018
Source [http] https://github.com/XnuKernPoll/ocaml-balancers/archive/v1.0.tar.gz
9dc229881dfea7372e065feb1572afba
StatisticsInstalled 2 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/balancer/balancer.1.0/opam

A collection of load balancing algorithms implemented in pure Ocaml

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.

No package is dependent