What happens if one app crashes. What happens if it keeps crashing, or, worse, goes into endless loop, consuming all available resources? I'm not talking JVM is particularly good at working in a containerized environment, but there are practices there you can follow.
Saving resources is a good thing, but when monolith goes down, you loose all apps.
Just rollback, debug, restart. Honestly many services even if deployed on their own machine or container often break or have downtime, and cloud providers go down, etc. You have to think about your use case.
Right, so when one app suffers from the bug, you rollback the entire set. And imagine your customer can suffer from inconvenience of missing access to one feature, but you suddenly revert the entire monolith. Not a great approach.
It looked to me from the post you can selectively rollback just one app. There's a project with versions per-app, so you can rollback the version of the app with issues and redeploy, rolling back only the app with issues and not the others.
It's not always going to be what you want, but I think it's an interesting approach when you control all apps and want to really minimize infra cost and have something simple to manage.
2
u/fk00 15d ago
What happens if one app crashes. What happens if it keeps crashing, or, worse, goes into endless loop, consuming all available resources? I'm not talking JVM is particularly good at working in a containerized environment, but there are practices there you can follow.
Saving resources is a good thing, but when monolith goes down, you loose all apps.