Running 5 Spring boot application as standalone vs Deploying all in one Tomcat -


am having 5 spring boot applications , have run them in single machine.

which efficient way run these

  1. running micro services separately different micro services
  2. deploy in tomcat cat server war

i dont have special requirement. want know efficient in terms of memory, i/o , processing, latency, scalability

for example, in case when 1 of apps fails should restart 1 spring boot. otherwise, should restart entire tomcat server apps installed.

another things processing , scalability: if have separated modules independent each other (apps in case), it's simpler maintain , modify them no affect 1 (see item #1).

in terms of memory, i/o , latency see item #1 - it's easier have deal 1 separated app large number of them @ once. :)

so if apps loosely coupled (by functionality, example) case may spring boot, otherwise can use tomcat server.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -