balancerversion

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.

Tags networking load balancing scalability
AuthorSam Riyad
LicenseMIT
Published
Homepagehttps://github.com/xnukernpoll/ocaml-balancers
Issue Trackerhttps://github.com/xnukernpoll/ocaml-balancers/issues
MaintainerSam Riyad
Dependencies
Source [http] https://github.com/XnuKernPoll/ocaml-balancers/archive/v1.0.tar.gz
sha256=faed80b9c8267e18326434c98640c23ea5a3e680d58f68557c154775ae88cb9d
md5=9dc229881dfea7372e065feb1572afba
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/balancer/balancer.1.0/opam
No package is dependent