Chapter 5. Load Balancing with mod_cluster

In this chapter, we will have a look at another load balancer solution. It is called mod_cluster (http://www.jboss.org/mod_cluster).

In comparison with JK, mod_cluster is more powerful and complex in design. Nevertheless, the added complexity in design doesn't mean it's harder to use; mod_cluster is designed to be scalable and can dynamically find the worker nodes so as to form a cluster.

Such kinds of flexibilities usually create confusion among newcomers and give them the impression that mod_cluster is harder to use. Thus, to appreciate the power of mod_cluster and its simplicity of usage, we must understand its design first.

The design of mod_cluster

From the previous chapter, we know that JK uses a TCP ...

Get JBoss EAP6 High Availability 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.