2.2-M1 Spotlight: Adaptive Load Balancing Based on Cluster Metrics

The member nodes of the cluster collects system health metrics, such as heap memory and CPU usage. The metrics is spread to other nodes and consumed by a new type of router that performs load balancing of messages to cluster nodes based on the cluster metrics data.

The router is defined in the same way as other routers:

and in this case it’s configured as follows:

Many thanks to Helena Edelson for her great contributions to the metrics design and implementation. In an upcoming blog post she will describe this topic in more detail.

Read more in the docs for Scala or in the docs for docs for Java.

Recent comments

Blog comments powered by Disqus