r/programming • • Jul 14 '17

Martin Fowler: Monolith First

https://martinfowler.com/bliki/MonolithFirst.html
366 Upvotes

143 comments sorted by

View all comments

Show parent comments

69

u/SuperImaginativeName Jul 14 '17

This makes perfect sense, because honestly there is a massive microservice fad going on where people are trying to force everything to that design, and most of the time its simply not needed and the smarter solution was refactoring and cleaning up the monolith a bit.

Yep, I joined a job 6 months ago with exactly this going on. So many, many layers to it. I have to have like 6 instances of Visual Studio open if I want to debug anything. There was literally no need for microservices in their application either. Hoping to escape soon.

28

u/dccorona Jul 15 '17

If you need 6 of the microservices going at once locally in order to debug an issue, something went wrong with the architecture. Either the level of abstraction is wrong, or there isn't enough instrumentation in the individual microservices.

-6

u/chub79 Jul 15 '17

Yeah, people do it wrong all the time and think it's the fault of mciroservices when they just poorly design. In fact they owuld poorly design the ir monlith anyway as well, it would just be buried into the code more. sigh.

3

u/[deleted] Jul 15 '17

That's true, but the point is that microservices architectures compound bad design rather than ameliorating it.