On the Hourglass Model
Reference: Micah Beck. “On the Hourglass Model.” Communications of the ACM 62(7), July 2019. Author’s PDF · 2016 preprint · ResearchGate
Summary
IP forms the waist of an hourglass. Applications above it can use datagrams without knowing which network carries them, and networks below it can participate by implementing the datagram service. Beck asks which part of this diversity follows from the guarantees that the shared interface, or spanning layer, makes.
The Hourglass Theorem describes a trade-off. If one specification implies another, the weaker specification admits at least as many underlying supports. Applications built on the weaker guarantees can still run on the stronger layer, but some applications may need the additional guarantees. Beck therefore proposes choosing the necessary applications first and seeking a minimally sufficient interface for them.
Key Ideas
- Logical strength. Weakening an interface relaxes what every implementation must guarantee. The number of operations alone does not measure strength.
- Minimal sufficiency. A layer qualifies if it supports every required application and no strictly weaker specification still supports them all.
- Deployment scalability. The theorem orders sets of possible supports and applications. Whether a community actually adopts a layer is a separate empirical question.
Connections
- End-to-End Arguments in System Design asks when endpoints must perform a function for correctness. Beck asks what requiring that function at the common layer would cost in possible implementations.
- Desiderata for Agent Communication Languages identifies interoperability and reliability requirements for heterogeneous agents. Applying Beck’s test, an ACL designer could ask which required conversations would become impossible if reliable delivery moved out of the shared protocol.
Conceptual Contribution
- Claim. A weaker common interface can accommodate more kinds of underlying systems while narrowing what applications can assume.
- Mechanism. For a fixed class of implementation programs, logical implication orders the sets of supports and applications in opposite directions.
- Concepts. Spanning layer, logical strength, minimal sufficiency, deployment scalability.
- Stance. Formal model of layered architecture.
- Relates to. KQML provides an agent-protocol case for examining which guarantees all participants must share.