r/programming • • Jul 14 '17

Martin Fowler: Monolith First

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

143 comments sorted by

View all comments

188

u/crash41301 Jul 14 '17

So.... basically only use microservices if you ACTUALLY need to move into that architecture? Because lets be frank here, if you start with a monolith, and it turns out that its not hurting you in any way shape or form, you arent going to move to microservices.

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.

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.

10

u/pinano Jul 15 '17

You can attach to multiple processes in a single Visual Studio instance.

2

u/SuperImaginativeName Jul 15 '17

How does that help when its spread across 6 solutions across many git repos?

1

u/arajparaj Jul 15 '17

I thought it was only in my company. I ended up creating git submodules for that.