2 ms·
> Probably just the interface - function calls become RPC. Network calls introduce new failure modes and challenges which require more plumbing. Can I retry t
by hu3 3y ago
> Probably just the interface - function calls become RPC.
Network calls introduce new failure modes and challenges which require more plumbing.
Can I retry this RPC call safely?
How about exponential backoff?
Is my API load-balancer doing its thing correctly? We'll need to monitor it.
How about tracing between microservices? Now we need OpenTelemetry or something like that.
How harder is it to debug with breakpoints in a microservice architecture?
How can I undo a database transaction between 2 microservices?
Suddenly your simple function call just became a lot more problematic.
- wnolens 3y agoMy first Q was re: monolith on one host to many services on one host. And yes, when going off-host, you'll have these issues. One should not employ network hops unnecessarily. Engineering is hard. Doesn't make it not worth doing.
- charcircuit 3y agoEven on one host processes can crash at different times.