Apache, Tomcat and mod_jk for load balancing

Posted by pHk on Server Fault See other posts from Server Fault or by pHk
Published on 2010-04-26T07:36:33Z Indexed on 2010/04/26 7:44 UTC
Read the original article Hit count: 281

Filed under:
|
|
|

Hi guys.

I've set-up a basic Apache (2.2.x) and Tomcat (6.0.x) set-up using mod_jk for load balancing using the worker.properties file. Preliminary testing seems to show that this works relatively well, and it was quite easy to set-up.

However; the fact that it was so easy to set-up has got me a little worried. We're dealing with 100 - 300 concurrent users using the same web application (deployed on 2 or 3 Tomcat instances). I have done a little Googling and looking around on here and there seems to be more than 1 way to accomplish this (one example on here used a balancer:// style URL, which I've never seen before in an Apache config). For example, one question I ask myself is how reliable the load detection on mod_jk really is (Busyness, Session, Request, etc).

In your experience, does this set-up prove to be reliable in real world scenarios? Any pointers on improvements, pit falls or interesting literature/articles?

I've worked with Apache before, but am in no way an expert.

Thanks in advance.

© Server Fault or respective owner

Related posts about apache

Related posts about tomcat