I have 3 tomcat servers where users get into all time. They are 3 because the processing of each request is heavy (lot of sql). Users enters to server 1 or 2 or 3. Now I want to make them "one". I know I need do clustering but, will clustering spread the requests thru the 3 servers or here is where I need implement load balancing with apache2 ?
Tomcat Clustering and Load Balancing
clusterload balancingtomcat
Related Topic
- Tomcat – Load Balancing and Clustering using mod_proxy_ajp on Apache HTTP Server 2.2.21 and Tomcat 7.0.23
- Tomcat – Load Balancing not working as expected in Apache in round-robin mode
- Nginx load balancing based on location
- Tomcat – Apache mod_proxy_balancer + Tomcat load balancing – Should not redirect until web applications are ready
Best Answer
You can use mod _ jk http://tomcat.apache.org/connectors-doc/
Remember to set sticky _ session on the mod _ jk and tomcat connector