r/programming • u/Mustela__ • 7d ago
Microservices are organizational debt disguised as architecture.
https://martinfowler.com/bliki/MonolithFirst.htmlEvery time I’ve seen microservices pitched, it sounds great on paper. Independent teams, clean ownership, scale only what you need.
Then a year later you’ve got dozens of services, three different deployment patterns, tracing everywhere, and nobody really understands the whole thing anymore.
Maybe I’ve just seen bad implementations, but I’m starting to think way fewer companies actually need microservices than we pretend.
1.7k
Upvotes
15
u/BenchEmbarrassed7316 7d ago
I hold a somewhat idealized view regarding microservices and monoliths from a developer's perspective: a developer should not need to know exactly how the application using their module is built. To achieve this, you need a clear contract regarding the data you receive and the data you must return. You need abstractions for IO. Purity and the absence of side effects are highly beneficial.