Random load balancing

Random load balancing also takes a list of servers to target but every time a request comes, it picks one randomly. If random implementation is equally distributed, it leads to a distribution close to the round-robin solution. However, it can potentially scale better, since it doesn't need to synchronize the list to pick the current server to use.

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.