|
|
|
|
|
by BoorishBears
999 days ago
|
|
A monolith doesn't force a single database. A monolith doesn't force a single process. IPC is still simpler and cheaper than network calls. A monolith doesn't force never having an external service for a specialized use case, or FFI. |
|
I specifically called out the extra complexity of network calls in microservices, not sure if you read the full comment.
> A monolith doesn't force a single process
I'm not convinced; if my small/specific code has it's own process, I would say it's a microservice. Sure, we can have replicas for redundancy, that doesn't mean I won't have reliability issues when my process is crashed.
> A monolith doesn't force a single database.
> A monolith doesn't force never having an external service for a specialized use case, or FFI
True, sadly it doesn't usually work this way. People take the path of least resistance.
Also once you add multiple DBs you start to get into eventual consistency; which is one of the harder parts of microservices.