Fallacy: The Network Is Homogeneous
Fallacy: The Network Is Homogeneous

The eighth of the Fallacies of Distributed Computing, added by James Gosling around 1997, is the assumption that the network is homogeneous: that every node runs the same platform, speaks the same protocols, and shares the same configuration.
Table of Contents
- What the Fallacy Assumes
- Why It’s False
- Designing for a Heterogeneous Network
- Related Concepts
- References
What the Fallacy Assumes
Systems built under this fallacy use platform-specific serialization formats, rely on behavior that happens to be true of one operating system or runtime, assume every client is a particular browser or device, and expect every link to have the same speed, maximum packet size, and reliability.
Why It’s False
Networks have always been heterogeneous, and they become more so as systems grow:
- Different platforms. Services are written in different languages and run on different operating systems, runtimes, and CPU architectures. Even services written in the same language may run on different versions.
- Different clients. Users arrive on desktop browsers, mobile apps, smart TVs, command-line tools, and other services, each with its own capabilities and quirks.
- Different network links. Fiber, Wi-Fi, cellular, satellite, and VPN connections have very different latency, bandwidth, and reliability characteristics, and a single request may cross several of them.
- Different intermediaries. Proxies, firewalls, load balancers, and gateways from different vendors may handle headers, timeouts, compression, and protocol versions differently.
- Different data conventions. Character encodings, date and time formats, time zones, number formats, and byte order all vary.
Designing for a Heterogeneous Network
These are some of the techniques that help systems interoperate on a diverse network:
- Use open, standard protocols. Prefer HTTP, gRPC, AMQP, and other widely supported standards over proprietary or platform-specific protocols.
- Use interoperable data formats. Choose formats with broad, well-specified support, such as JSON or Protocol Buffers, rather than platform-specific binary serialization.
- Define explicit contracts. Describe APIs and messages with schemas such as OpenAPI, AsyncAPI, or
.protofiles, so that every party can generate or validate against the same definition. - Be explicit about data conventions. Use UTF-8, ISO 8601 dates in UTC, and explicit units and currencies. Don’t let the defaults of one platform leak into a contract.
- Hide differences behind adapters. Isolate the quirks of a particular external system in an Adapter or anti-corruption layer rather than letting them spread through your code.
- Be tolerant in what you accept. Ignore unknown fields and handle optional ones gracefully, so different versions and implementations can coexist.
- Test across environments. Verify behavior against the real variety of platforms, clients, and network conditions you expect to support.
Related Concepts
- There Is One Administrator - different owners make different technology choices
- Adapter Pattern - translating between incompatible interfaces
- Data Transfer Object Pattern - explicit, platform-neutral message shapes
- Postel’s Law - be conservative in what you send, liberal in what you accept
References
- Fallacies of Distributed Computing Explained - Arnon Rotem-Gal-Oz
- OpenAPI Specification - OpenAPI Initiative
- AsyncAPI Specification - AsyncAPI Initiative