logoalt Hacker News

manmallast Monday at 8:57 PM3 repliesview on HN

Well structured monoliths are modularized just like microservices. No need to give each module its own REST API in order to keep it clean.


Replies

bccdeelast Tuesday at 6:53 AM

Conversely, poorly-structured microservices are just monoliths where most of the code is in other repositories.

Yoriclast Monday at 11:59 PM

I guess that the benefit of monoliths in the context is that they (often) live in distinct repositories, which makes it easier for Claude to ingest them entirely, or at least not get lost into looking at the wrong directory.

randomtoastlast Tuesday at 9:27 AM

One problem is that the idea of being "well-structured" has gone overboard at some point over the past 20 years in many companies. As a result, many companies now operate highly convoluted monolithic systems that are extremely difficult to replace.

In contrast, a poorly designed microservice can be replaced much more easily. You can identify the worst-performing and most problematic microservices and replace them selectively.

show 1 reply