|
|
|
|
|
by LargeWu
1949 days ago
|
|
I'm not reading this as "Don't do distributed work". It's "distributed systems have nontrivial hidden costs". Sure, monoliths are often synonymous with single points of failure. In theory, distributed systems are built to mitigate this. But unfortunately, in reality, distributed systems often introduce many additional single points of failure, because building resilient systems takes extra effort, effort that oftentimes is a secondary priority to "just ship it". |
|
You'll also likely use multiple databases (caching in e. g. Redis) and a job queue for longer tasks.
You'll also probably already have multiple instances talking to the databases, as well as multiple workers processing jobs.
Pretending that the monolith is a single thing is sneakily misleading. It's already a distributed system