RN.
RN.

Reputation: 1007

Multiple applications in single Tomcat vs multiple instances of tomcat

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 ?

Upvotes: 4

Views: 2320

Answers (1)

mindas
mindas

Reputation: 26713

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.

Upvotes: 5

Related Questions