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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -