Chapter 4. Load Balancing with mod_jk

In the previous chapter, we set up two EAP6 servers running in domain mode with the full-ha profile. In this chapter, let's set up a load balancer that could dispatch user requests to these two EAP6 servers.

The load balancer we use in this chapter is called mod_jk provided by the Apache community. It's easy to use and yet very powerful. The following diagram shows how it works:

Load Balancing with mod_jk

The following are some notes regarding the previous diagram:

  • mod_jk is a dynamic library that can be used as an Apache httpd module. In this chapter, we'll learn how to use it.
  • AJP13 is a binary protocol used by mod_jk to proxy user requests ...

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.