Galera Load Balancer

You are viewing an old version of this article. View the current version here.

Galera Load Balancer is a simple Load Balancer specifically designer for Galera Cluster. Like Galera, it only runs on Linux. Galera Load Balancer is developed and mantained by FromDual. The documentation is available on their site.

Galera Load Balancer is inspired by pen, which is a generic TCP load balancer. However, since pen is a generic TCP connections load balancer, the technique it uses do not suite well to the particular use case of database servers. Galera Load Balancer is optimized for this type of workloads.

Several balancing policies are supported. Each node can be assigned a different weight. Nodes with a higher weight are preferred. Depending on the selected policy, other nodes can even be ignored, until the preferred nodes crash.

A lightweight daemon called glbd receives the connections from clients and it redirects them to nodes. No specific client exists for this demo: a generic TCP client, like nc, can be used to send administrative commands and read the usage statistics.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.