I developing web-application using spring-boot. And I want to cluster spring-boot embedded tomcat 7. I searched all day long, but answers are almost using server.xml and apache. But the way of using server.xml on spring-boot, I couldn't find it. I think I need usage of configuration multiple connector, and engine, and so on. I don't know, it is right way. Please show me the way.
You can use a load balancer(such as nginx) to distribute the load and Spring-session to externalize session handling.
See example here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With