views:

34

answers:

0

Hi,

I have an environment where in there are two tomcat instances running the same application. What I would need is an apache load balancing the url requests to these tomcat instances using the mod_rewrite rules.

I know that we can do this with mod_jk already but have observed that the mod_jk s an overhead in terms of performance so far and more so ever considering the application usage.

I am using the worker.properties and JKmount at this time to load balance between the two tomcat instances from the apache running on port 80. I would want to have some thing more simplified than ajp as in use the http mod_rewrite conditional rules so that we have load balanced environment between the two tomcat instances and more so ever at maintaining the sticky sessions. Sticky sessions --- maintain and persist the relationship between the client and the tomcat instance as long as the tomcat instance is running and incase one tomcat instance goes down, redirect the persisted client connection to the other available tomcat instance.

Please let me know if there are any viable options. Pardon me if I have not been clear in terms of what I want.

Thanks, Nikhil