Multiple applications in single Tomcat vs multiple instances of tomcat

夙愿已清 提交于 2020-01-24 05:37:04

问题


Currently, we run multiple applications in a single Tomcat

I would rather run each application as a single application with embedded Tomcat

Does anyone see any downside to this ?

I am guessing my per instance need for Memory will go down- so my over-all memory consumption will basically remain the same.

Am I missing something ?


回答1:


I think you will need more memory overall as each application will need to have its breathing space. You will also probably have to do more maintenance as the amount of config files will go up.

At this cost you will get more independence - e.g. if one of the apps will suck all CPU resources or even manage to bring down entire JVM, your other Tomcats will still be up and running.



来源:https://stackoverflow.com/questions/4465127/multiple-applications-in-single-tomcat-vs-multiple-instances-of-tomcat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!