Load balancing

In a cluster, the nodes can often handle load balancing themselves. Busy nodes can communicate with others, and transfer work to nodes that are not so busy. A non-clustered topology of nodes that do not communicate with each other can also be load balanced, as seen in the following diagram:

Load balancing

Clients calling non-clustered nodes through a load balancer that directs traffic to the nodes

The nodes will then have a common gateway, or load balancer, in front of them, which routes traffic to the available nodes. The routing is usually performed according to an algorithm (such as first-available, sticky-session, or round-robin) that may or may ...

Get WildFly Performance Tuning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.