Microservices vs. Monolith

Vor- und Nachteile

Vorteile 30_Knowledge/Microservices

Vorteile 30_Knowledge/Monolith

Entscheidung wie treffen?

Neues Projekt? → Monolith
Ein kleines Team? → Monolith
Skalierung- und Performance-Anforderungen linear? → Monolith

Microservices können nur dann potentiell sinnvoll sein, wenn ein großes, heterogenes System mit unterschiedlichen Skalierungsanforderungen benötigt wird.

Skalierungsanforderung

Death By a Thousand Microservices

So what do we do? Starting with a monolithis one obvious choice. A pattern that could also work in many instances is “trunk & branches”, where the main “meat and potatoes” monolith is helped by “branch” services. A branch service can be one that takes care of a clearly-identifiable and separately-scalable load. A CPU-hungry Image-Resizing Service makes way more sense than a User Registration Service. Or do you get so many registrations per second that it requires independent horizontal scaling?

Probleme von verteilen Systemen

Risks and Challenges of the Microservices Architecture Style

Vergleich Performance

Studies:

Vergleich Energieverbrauch

Microservices → Monolith

Amazon Prime Video

Prime Video Switched from Serverless to EC2 and ECS to Save Costs - InfoQ

Even Amazon can't make sense of serverless or microservices

We’re gonna break [the monolith] up and somehow find the engineering discipline we never had in the first place... Now you went from writing bad code to building bad infrastructure.
— Kelsey Hightower

Monoliths are not dinosaurs | All Things Distributed

Building evolvable software systems is a strategy, not a religion. And revisiting your architectures with an open mind is a must.

Istio

Istio as an Example of When Not to Do Microservices – Software Blog

Segment

Goodbye Microservices: From 100s of problem children to 1 superstar

Monoliths, Microservices, and Containers. Oh my!

Bekannte monolithische Applikationen

See Monolith#Impressive monolith applications.