Timeline for Does each microservice need its own server running (Tomcat, docker container)
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 8, 2019 at 14:36 | comment | added | Ewan | like crash and expose security vunerabilities? :) yeah It would be a good question/discussion | |
| Nov 8, 2019 at 10:57 | comment | added | sleske | This article: the decline of Java application servers when using docker containers explains the advantages Docker offers over just using an application server (like Tomcat). This may not apply in all situations, but there are things that Docker can do while Tomcat alone cannot. | |
| Nov 8, 2019 at 10:44 | comment | added | sleske | @Ewan: Looks like we will have to agree to disagree then :-). Anyway, this might make a decent question of its own. Maybe I'll ask it. | |
| Nov 7, 2019 at 20:45 | comment | added | Ewan | all of those apart from "use docker for everything" are more easily achieved without docker | |
| Nov 7, 2019 at 20:41 | comment | added | sleske | @Ewan: I don't think you can make such a general statement. Running Tomcat inside a Docker container still gives you advantages, such as using Docker as the only deployment mechanism, allowing each Java web app control over its JVM version, Tomcat version etc. I know about deployments that switched from Tomcat on Linux to Tomcat on Docker on Linux, and the decision was not taken lightly. | |
| Nov 7, 2019 at 16:28 | comment | added | Ewan | @sleske no, there is no advantage in this case | |
| Nov 6, 2019 at 14:10 | comment | added | sleske | Of, course you might want to use Docker for the advantages it provides... | |
| Nov 6, 2019 at 14:06 | comment | added | sleske | Yes, this. Both Tomcat and Docker (intend to) solve the same problem: Provide a consistent environment for an application/service. They just do so at different levels (basically, Tomcat provides the Servlet API, while Docker provides the Linux API). | |
| Nov 6, 2019 at 13:31 | comment | added | Ewan | no but you cant do that with docker on a single ec2 either | |
| Nov 6, 2019 at 13:07 | comment | added | Dan Wilson | Can you scale each site in a Tomcat instance independently? | |
| Nov 6, 2019 at 13:00 | history | answered | Ewan | CC BY-SA 4.0 |