In this chapter, we have shown instruments that can be used to distribute the load of an application across a set of nodes, also known as load balancing.
Load balancing is not an exclusive feature of clustered applications because it can be applied to any kind of applications that are running over multiple AS, although it's commonly used as a front door to your cluster of nodes.
In the first half of this chapter, we have illustrated how to use the
mod_proxy libraries in the AS7. Both approaches are still viable in the new application server:
mod_jkrequires some configuration both on the httpd side and on the AS side. On the other hand, when using
mod_jkyou can achieve a better level of granularity.
mod_proxyis a more immediate ...