simplest-load-balancer

Install latest/stable of simplest-load-balancer

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install simplest-load-balancer

Don't have snapd? Get set up for snaps.

Channel Version Published

Sessionless UDP Load Balancer

SLB (simplest-load-balancer) is a sessionless load balancer for UDP and solves problems inherent with using traditional (feature rich) load balancers for such traffic.

For simple, stateless UDP protocols there is no advantage in trying to maintain "affinity" (aka. "sessions") between clients and back-end instances. Traditional load balancers assume that affinity is helpful (it is for TCP and some stateful UDP protocols), and will try to route packets from a given client to a consistent back-end server. By contrast, SLB evenly (randomly) distributes packets all available back-ends. This results in uniform loading of backends, and improved robustness.

SLB features dynamic configuration with backends being added/refreshed, removed and configured (weights and port associations) dynamically via a UDP control plane. Switching backends during maintenance is nearly instantaneous (without sessions there is no need to wait to "drain" connections).

Inbound traffic is distributed based on port group assignments and "weights" which can be dynamically adjusted for each backend based on capacity, load, maintenance status or any other consideration.

When a more robust HA deployment with multiple SLBs is needed the communication between backends and SLB can be simplified by using a multicast group IP.

Details for simplest-load-balancer

License
  • MIT

Last updated
  • 9 January 2025 - latest/stable

Websites

Source code

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.


Install simplest-load-balancer on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using simplest-load-balancer