Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

JBoss AS7 mod_proxy or mod_cluster

Let me begin a cluster of JBoss AS7 servers. I have discovered that it might be done using apache with mod_proxy or with mod_cluster. Which can you use? Which is simpler to determine and maintain? Which supplies better performance?

share|improve this question

Definitely mod_cluster. mod_cluster, among other features...

  • advertises its presence via multicast so as workers can join without any configuration
  • workers will report their available contexts
  • mod_cluster will create proxies for these contexts automatically
  • if you want to, you can still fine-tune this behaviour, e.g. so as .gif images are served from httpd and not from workers...
  • most importantly: unlike pure mod_proxy or mod_jk, mod_cluster knows exactly how much load there is on each node because nodes are reporting their load back to the balancer via special messages
  • default communication goes over AJP, you can use HTTP and HTTPS

I feel like a sales guy now :-D OMG

Take a look:
Grab the sources:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.