How do I load balance the tomcat server?
Just like you would for a regular Apache web server. What port is the Tomcat server using?
There are many load balancing schemes so you will have to choose the best one for you. For example there are the following schemes
- Round robin
- Least connections
- Weighted round robin
If you need your sessions to stick to a particular server, you may have to make adjustments to use the application's cookies for the load balancer to make its decisions.
Bookmarks