# The End-to-End Principle

> Put the smarts at the edges of a network, and keep the core simple.

**Field:** Software & systems · **Reliability:** Empirical · **Coined:** 1981 · **Named after:** Saltzer, Reed, and Clark

## What it means

The end-to-end principle holds that application-specific functions should live at the end points of a communication system rather than in the network in between. Because a function can often be completely and correctly implemented only with the knowledge and help of the applications at the endpoints, providing it inside the network is redundant or insufficient, though a partial version in the network can still be a useful performance optimisation. The core should be simple and general; the intelligence belongs at the edges.

## How it works

The reasoning is captured by the careful file-transfer example. Sending a file correctly must guard against errors at many points (disk reads, memory, software, the network, a crash mid-transfer), so the application must run its own end-to-end check whatever happens. If it must anyway, then making the network itself perfectly reliable does not remove the need for that check; it only reduces how often the application retries. So reliability in the network is an engineering tradeoff for performance, not a requirement for correctness, and correctness is best secured at the ends.

## Examples

- **TCP over IP:** The internet's design: IP provides a simple, best-effort delivery service, while TCP supplies reliability at the endpoints (the archetype of a dumb network with smart edges).
- **End-to-end encryption:** Securing a message at the application endpoints rather than trusting the network with keys, since the data must be checked and decrypted by the application anyway.
- **The corrupting gateway:** The authors' own anecdote: a network that checksummed each hop still silently corrupted files, because a gateway's transient bug scrambled data while it sat unprotected in a buffer (the errors the hop checks could not catch).

## Why it matters

It is one of the founding design principles of the internet, the argument for a simple, general core over which any application can be built at the edges, enabling permissionless innovation and new uses the network's designers never anticipated. It is a widely cited intellectual precursor to network neutrality, and a lasting guide for deciding what belongs in a system's core versus its endpoints.

## Where it breaks down

The authors themselves called it a guideline, not an absolute rule: a kind of Occam's razor for system design that requires care in identifying which points are the ends. They explicitly endorsed in-network mechanisms as performance enhancements, since on a lossy link some reliability is worthwhile; the point is only that the lower levels need not be perfect. The pure model has since eroded: network address translation, firewalls, middleboxes, content delivery networks, and quality-of-service place function and state in the network for security, performance, or policy, in tension with the end-to-end pull to keep it out.

## Common misreadings

The principle does not say put nothing in the network; it endorses in-network mechanisms as performance enhancements, just not as guarantees of correctness. It is not an absolute law but a guideline, and even the endpoints are not always the obvious hosts. The dumb-network, smart-edges phrasing comes from later popularisers, not the original authors, whose statement is more precise and more hedged. And it directly mandates net neutrality only in policy debates: the principle itself is an engineering argument about where functions belong.

## Origin

Articulated by Jerome Saltzer, David Reed, and David Clark in 'End-to-End Arguments in System Design,' first presented in 1981 and published in ACM Transactions on Computer Systems in 1984; a foundational statement of internet architecture.

## Related

- [The Fallacies of Distributed Computing](https://conyso.com/lawtome/laws/the-fallacies-of-distributed-computing/) — kindred
- [Postel's Law](https://conyso.com/lawtome/laws/postels-law/) — kindred

## Sources

- [Saltzer, Reed & Clark, "End-to-End Arguments in System Design," ACM Transactions on Computer Systems 2(4):277-288 (1984), author PDF. — the statement, the file-transfer reasoning, and the performance caveat.](<https://web.mit.edu/saltzer/www/publications/endtoend/endtoend.pdf>)
- [End-to-end principle, Wikipedia. — the TCP/IP example, the erosions by NATs and middleboxes, and the net-neutrality lineage.](<https://en.wikipedia.org/wiki/End-to-end_principle>)
- [Blumenthal & Clark, "Rethinking the design of the Internet: the end-to-end arguments vs. the brave new world," ACM Transactions on Internet Technology 1(1) (2001). — the tensions pulling function into the network.](<https://dl.acm.org/doi/10.1145/383034.383037>)

---
Source: https://conyso.com/lawtome/laws/the-end-to-end-principle/ · The Law Tome — a sourced index of named laws.
