What are the fallacies of distributed computing, and how do they apply to microservices?
Last updated
The fallacies are eight false network assumptions (Peter Deutsch et al.): reliable network, zero latency, infinite bandwidth, secure network, fixed topology, one administrator, zero transport cost, homogeneous network.
Microservices are distributed systems, so ignoring them yields fragile, slow, unreliable systems.
Countermeasures: retries, timeouts, and circuit breakers, coarser non-chatty APIs, TLS and service-to-service auth, service discovery instead of hardcoded addresses, and interoperable contracts.
- https://www.geeksforgeeks.org/system-design/top-microservices-interview-questions/
- https://www.geeksforgeeks.org/system-design/microservices-resilience-patterns/
- https://medium.com/@RichaShukla2111/saga-pattern-a-practical-guide-to-distributed-transactions-in-microservices-f4f0f27755f0
- https://dev.to/athulmr/making-rest-microservices-resilient-bulkhead-retry-circuit-breaker-in-practice-1mpl
- https://blog.bytebytego.com/p/6-more-microservices-interview-questions