Load balancing – pick the best one

Load balancing is about defining how to select the backend node that will process the request. It can be done on the server or client side, but strategies are globally the same. The fact that it is Client or Server is mainly a deployment concern because when the Load Balancer is an instance (software), then you actually add a Client in the chain between the final clients and your middlewares.

At very high level, a Load Balancer can be schematized as follows:

The global idea is to add a layer in between the Client and the Server, which will orchestrate the way the requests are distributed to the servers depending ...

Get Java EE 8 High Performance 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.