# \[ANN\] Balancer 1.0

**URL:** <https://discuss.ocaml.org/t/ann-balancer-1-0/2424>\
**Category:** Community\
**Tags:** announce\
**Created:** [August 10, 2018, 2:16am UTC](https://discuss.ocaml.org/t/ann-balancer-1-0/2424 "2018-08-10T02:16:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Nobody\_Gone](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/nobody_gone/32/1418_2.png) [@Nobody\_Gone](https://discuss.ocaml.org/u/Nobody_Gone)\
**Post date:** [August 10, 2018, 2:16am UTC](https://discuss.ocaml.org/t/ann-balancer-1-0/2424/1 "2018-08-10T02:16:11Z")

</div>

I’m pleased to announce that Balancer 1.0 is now available on opam, it’s a collection of load balancing algorithms, such as p2c, consistent hashing + least loaded, p2c with partial key grouping, round robin, etc.

All of the balancers are written with service discovery in mind, so you can plugin a react signal and use a watch with zookeeper or whatever.

It also comes with some useful synchronization utils for shared mutable state.

I think it’s a useful addition to the ecosystem, just because people scale ocaml by spawning a lot of processes and talking via tcp, domain sockets, files, etc, and I’m actually surprised there wasn’t a library for it beforehand.

> **[xnukernpoll/ocaml-balancers](https://github.com/xnukernpoll/ocaml-balancers)**
>
> A client side load balancing library for ocaml. Contribute to xnukernpoll/ocaml-balancers development by creating an account on GitHub.

[https://opam.ocaml.org/packages/balancer/](https://opam.ocaml.org/packages/balancer/)

---

_[View the full topic](https://discuss.ocaml.org/t/ann-balancer-1-0/2424)._
