News for hackers. Stuff that matters.
Re:Don't start with microservices – monoliths are your friend by rco8786 on Thursday December 16, 2021 @11:21AM (#29579851)
> Because there is no newly invented architecture called "modular monolith" - monolith was always supposed to be MODULAR from the start.

Yes! Thank you. The "modular monolith" is just "decent separation of concerns in your code" and should be there from the start.

Re:Don't start with microservices – monoliths are your friend by sbysb on Thursday December 16, 2021 @12:35PM (#29581015)
I would actually disagree - to me you can have "decent separation of concerns in your code" but still have only built the app to support a single entry point. "Modular monolith" to me is a system that is built with the view of being able to support multiple entry points, which is a bit more complex than just "separating concerns"
Re:Don't start with microservices – monoliths are your friend by zbentley on Saturday December 18, 2021 @12:40PM (#29606529)
If your concerns are well separated in a monolith (in practice this means being able to call a given piece of functionality with high confidence that it will only talk to the data stores/external resources that you expect it will), adding new entry points is very easy.

Now, it's not trivial--going from, say, a do-everything webserver host to a separation of route-family-specific web servers, background job servers, report processing hosts, and cron job runners does require work no matter how you slice it--but it's a more or less a mechanical or "plumbing" problem if you start from a monolithic codebase that is already well behaved. Modularity is one significant part of said good behavior.