Fallacies

“Essentially everyone, when they first build a distributed application, makes the following eight assumptions. All prove to be false in the long run and all cause big trouble and painful learning experiences.” — Peter Deutsch
A fallacy is a belief that seems reasonable, is widely held, and is wrong. In software, fallacies are dangerous precisely because they are rarely stated out loud. Nobody writes “the network never fails” in a design document - they simply write code that only works if it is true. The code passes every test on a developer’s machine, ships, and then fails in production in ways that are expensive to diagnose and fix.
Table of Contents
- The Fallacies of Distributed Computing
- Additional Fallacies
- A Brief History
- Why the Fallacies Still Matter
- Designing With the Fallacies in Mind
- Related Concepts
- References
The Fallacies of Distributed Computing
The best-known set of software fallacies describes the assumptions developers make when a system starts talking to other systems over a network:
- The Network Is Reliable
- Latency Is Zero
- Bandwidth Is Infinite
- The Network Is Secure
- Topology Doesn’t Change
- There Is One Administrator
- Transport Cost Is Zero
- The Network Is Homogeneous
Each of these is easy to believe when an application runs on a single machine, or on a handful of machines in the same rack. Each becomes false as soon as the system grows, moves to the cloud, crosses an organizational boundary, or simply runs long enough.
Additional Fallacies
The original eight aren’t the only false assumptions that cause trouble in distributed systems. These fallacies aren’t part of the classic list, but they are just as common and just as costly:
- There Is Only One Version
- Clocks Are Synchronized
- Messages Are Delivered Exactly Once, In Order
- The Data Is Consistent
- Failures Are Independent
- Downstream Capacity Is Infinite
- A Distributed System Can Be Debugged Like a Local One
- Compensating Actions Are Always Successful
Three of these line up with the “new” fallacies Neal Ford and Mark Richards added in the second edition of Fundamentals of Software Architecture: versioning is easy (There Is Only One Version), compensating updates always work (Compensating Actions Are Always Successful), and observability is optional (A Distributed System Can Be Debugged Like a Local One). They discuss all three on the Thoughtworks Technology Podcast episode The Three New Fallacies of Distributed Computing.
A Brief History
The list originated at Sun Microsystems. Bill Joy and Tom Lyon identified the first four fallacies, and in 1994 L. Peter Deutsch collected them, adding three more to make seven. Around 1997, James Gosling - the creator of Java - added the eighth, “the network is homogeneous.” The list has been passed around, presented, and rediscovered by each new generation of distributed system builders ever since.
Why the Fallacies Still Matter
The fallacies were written in the era of client-server applications and remote procedure calls. They are more relevant now, not less. Microservices, serverless functions, mobile apps, third-party APIs, message brokers, and multi-region cloud deployments mean that nearly every modern application is a distributed system - often without its developers thinking of it that way.
Many popular frameworks make remote calls look exactly like local calls. That convenience is useful, but it hides exactly the details the fallacies warn about. A method call that takes nanoseconds and never fails in-process can take hundreds of milliseconds, time out, partially succeed, or be intercepted once it crosses the network. Teams that split a monolith into services without accounting for this often end up with a Distributed Monolith - all of the cost of distribution and none of the benefit.
Designing With the Fallacies in Mind
The fallacies are not an argument against distributed systems. They are a checklist. When designing anything that communicates over a network, ask what happens to your design when each assumption is false:
- What happens when this call fails, or when it times out and you don’t know whether it succeeded?
- How many round trips does this operation require, and what does that cost at the 99th percentile?
- How much data is being moved, and does it need to be?
- Who could be reading or tampering with this traffic?
- What happens when the address of this dependency changes?
- Who else operates the systems you depend on, and how will you find out when they change something?
- What does each message cost in serialization, infrastructure, and money?
- What other platforms, protocols, and versions are on the other end?
Each article in this section explores one fallacy in depth: what it assumes, why the assumption fails, what it costs when you get it wrong, and the patterns and practices that help.
Related Concepts
- Distributed Monolith - a common result of ignoring the fallacies when adopting microservices
- Modular Monolith - an architecture that defers distribution until it is needed
- Event-Driven Architecture - reduces temporal coupling between distributed components
- Observability - how you find out which fallacy just bit you in production
- Murphy’s Law - anything that can go wrong will go wrong, especially over a network
References
- Fallacies of Distributed Computing - Wikipedia
- Fallacies of Distributed Computing Explained - Arnon Rotem-Gal-Oz
- The Three New Fallacies of Distributed Computing - Thoughtworks Technology Podcast with Neal Ford and Mark Richards (video)
- Latency Numbers Every Programmer Should Know - Jonas Bonér, based on figures from Jeff Dean and Peter Norvig