Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embedded Tomcat 7 cluster using spring-boot

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.

like image 666
Jin Avatar asked Jul 03 '14 09:07

Jin


1 Answers

You can use a load balancer(such as nginx) to distribute the load and Spring-session to externalize session handling.

See example here.

like image 180
explorer Avatar answered Oct 11 '22 16:10

explorer