Monoliths vs Microservices

Debate on software architecture favoring monoliths for simplicity, flexibility, and fewer failure modes over microservices, which are criticized for added complexity unless necessary.

πŸ“‰ Falling 0.2x DevOps & Infrastructure
4,191
Comments
19
Years Active
5
Top Authors
#8746
Topic ID

Activity Over Time

2008
1
2009
2
2010
3
2011
6
2012
23
2013
27
2014
56
2015
189
2016
239
2017
221
2018
244
2019
313
2020
560
2021
491
2022
533
2023
678
2024
326
2025
269
2026
10

Keywords

RAM CPU IMHO OK CI CD DevOps JVM HN MFE monolith microservices microservice services monolithic architecture modules scaling teams boundaries

Sample Comments

tabtab β€’ Jan 3, 2023 β€’ View on HN

As a general rule of thumb, fully explore and exhaust your "monolith" options before you switch to Microservices. They quite often create more problems than they solve.

poszlem β€’ Oct 8, 2024 β€’ View on HN

"I see you have a poorly structured monolith. Would you like me to convert it into a poorly structured set of microservices?"

ganesharul β€’ Oct 14, 2022 β€’ View on HN

Fact is Monoliths are more flexible than Badly Split Microservices.

kgeist β€’ Sep 16, 2024 β€’ View on HN

A few years ago, after having worked on a microservice-oriented project for some time, I joined a team which developed a monolith. To be honest, it felt like a breath of fresh air. What previously took coordination across multiple teams and repositories, tens of API schemas, complex multi-stage releases (your average feature usually touches lots of microservices), complicated synchronization of data stored in tens of DB, with a whole theory on microservice communication and a whole DevOps team w

Retric β€’ Aug 30, 2016 β€’ View on HN

Microservces enforce some separation of concerns, but Monoliths can use the same approach without nearly as much complexity. Overall, I find microservices to add a huge range of new failure modes for little net gain. The sweet spot seems to be services where large chunks of the application operate independently. 10 services are manageable, 100 are not.

rysertio β€’ May 24, 2024 β€’ View on HN

Am I the only one who uses microservices to deploy small monolithic projects?

tedmiston β€’ Jan 20, 2022 β€’ View on HN

Start with a monolith, not microservices.

GiorgioG β€’ Jan 2, 2018 β€’ View on HN

microservices are not a substitute for discipline. You can have a modular monolith.

bedobi β€’ Nov 3, 2020 β€’ View on HN

I've never understood all this drama. In my experience, monoliths are universally bad in every imaginable way. A huge part of my career has been splitting monoliths into cohesive smaller codebases which could be called microservices.How to split them has never really been a problem, you tend to develop an intuition and the monolith kind of splits itself.Eg, currently we have user profiles (user id > the users names, email etc) in one microservice, relationships between users (user

Aeolun β€’ Dec 16, 2021 β€’ View on HN

Don’t end with microservices either. Monoliths are your friend.