The Consensus of Brass
On Huygens' pendulums, network time protocols, and how dead matter negotiates a shared reality.

In February of 1665, Christiaan Huygens was confined to his bed with a severe but brief illness. Huygens, the Dutch polymath who had less than a decade earlier invented the pendulum clock, spent his days staring at the wall of his room. From his bed, he observed two of his newly constructed clocks hanging side by side from the same heavy wooden beam.
As he watched them, day after feverish day, he noticed something impossible. Regardless of how the pendulums were initially started—even if they were swung completely out of phase, in a chaotic, overlapping mess of ticking—within a half hour, they would always sync up. They would swing perfectly together, usually in exact antiphase, one swinging left as the other swung right, crossing the center point at the exact same microsecond. If he intentionally disturbed one pendulum to break the rhythm, within thirty minutes the room would return to that synchronized, perfect ticking.
He wrote a letter to his father about it, describing it as an "odd kind of sympathy."
Huygens didn't have the mathematics of coupled oscillators available to him, but his intuition was correct: the clocks were talking to each other. They were exchanging tiny amounts of physical energy through the microscopic tremors in the shared wooden beam. The heavy beam was acting as a communication channel. The brass, the wood, the iron—entirely non-living, mechanical matter—had negotiated a protocol. They had reached consensus.
The problem of now
If you have ever tried to build a distributed system, you know that time is the deepest, most intractable problem in computer science.
When you have a single spinning disk and a single processor, time is easy. It is local. It is a counter ticking steadily upward in the dark of a silicon chip. But the moment you take two computers, place them in different racks, and attempt to have them agree on the sequence of events, you are cast into darkness.
Because of network latency, packets of information do not arrive instantly. Because of physical realities, quartz oscillators on motherboards drift based on the ambient temperature of the server room. No two clocks ever run at precisely the same rate. This means that if Server A says an event happened at 10:04:02.100 and Server B says an event happened at 10:04:02.105, you cannot actually know which event happened first. You cannot build a strict narrative of cause and effect.
To solve this, we invented NTP, the Network Time Protocol, in 1985. It is one of the oldest protocols still running on the internet. NTP is effectively an attempt to recreate Huygens' wooden beam in software. It allows computers to quietly exchange messages, measuring the round-trip latency, estimating the drift of their local clocks against authoritative atomic clocks, and gradually—gently—slewing their time to match the consensus of the network.
When NTP is working, it looks like magic. Millions of wildly inaccurate clocks across millions of devices, all agreeing on what "now" means over a chaotic, lossy network. But it isn't magic. It is just a highly formalized version of the "odd kind of sympathy." It seeks equilibrium.
The physical grammar of synchronization
What fascinated Huygens, and what still captivates physicists and engineers today, is that communication does not require intent. It only requires a medium and a mechanism for feedback.
You can replicate Huygens' exact experiment today without clocks. If you place five ordinary metronomes on a board, and place that board on two empty soda cans so it can roll back and forth slightly, you can start the metronomes in a totally random cacophony. For a few minutes, it sounds like rain hitting a tin roof.
But as each metronome swings, its momentum imparts a tiny sideways force to the board. The board rolls slightly, carrying the other metronomes with it. That physical movement alters the swing of the other pendulums. The fast ones are subtly slowed down when swinging against the board's motion; the slow ones are subtly sped up when swinging with it. Through this microscopic exchange of kinetic energy, the metronomes begin to lock into phase. First two will sync, then three, until suddenly, with a loud, mechanical snap of reality locking into place, all five metronomes are ticking in absolute, terrifying unison.
There is no "master" metronome. There is no central server dictating the beat. The synchronization emerges from the bottom up, through the sheer inevitable physics of the coupled system. The transfer of energy is the communication. The physics is the protocol.
Non-living consensus
We are accustomed to thinking of communication as something strictly cognitive. A sender encodes a message; a receiver parses it. We think of language, of API requests, of JSON payloads, of pheromones. We think of intent.
But physics suggests a broader, stranger definition. Communication is simply the transfer of state across a medium. Consensus is simply a system finding its lowest energy state.
When you heat a piece of iron to its Curie temperature and let it cool in the presence of a magnetic field, the microscopic magnetic domains within the metal—billions of individual atoms—spontaneously align. They flip to point in the same direction, locking each other into a stable arrangement that persists long after the external field is removed. They have communicated their state to their neighbors. They have formed a pact.
When water freezes, the water molecules must agree on a crystalline structure. A single seed crystal forms, and the neighboring molecules, slowed by the cold, snap into the geometric lattice. The pattern propagates outward through the liquid, an unbreakable geometry of consensus, turning chaos into glass.
These are not metaphors. The mathematics that describes the magnetic alignment of atoms (the Ising model) is exactly the same mathematics used to model how opinions cascade through a social network. The math mapping the synchronization of Huygens' clocks is the same math used to model the synchronous flashing of fireflies in a dark forest, or the firing of pacemaker cells in the human heart.
The sympathy of the beam
We often struggle in software engineering because we try to force synchronization from the top down. We build massive, centralized databases that act as the single source of truth. We use distributed locks that choke the entire system while one process decides what the state should be. We try to be the authoritative clock, the master metronome, shouting the time to all the nodes below us.
But these architectures are inherently brittle. They scale poorly, and they fail catastrophically when the central authority falls out of step.
The most resilient systems in the world—both natural and engineered—don't look like this. They look like Huygens' clocks on a wooden beam. They look like systems comprised of autonomous agents that are loosely coupled, sharing tiny amounts of state, allowed to drift, but constantly, gently correcting each other toward a shared rhythm. They allow local chaos, trusting that the physical properties of the network will eventually draw the agents into phase.
Looking at a pendulum, we see only a weight on a string. But looking at two pendulums on a shared beam, we see the foundation of all communication. We see that the universe is biased toward resonance. If you put enough individual pieces in proximity and allow them to feel each other's movement, they will eventually stop shouting over one another. They will fall into rhythm. They will find the consensus of brass.
If this resonated with you
These essays take time to research and write. If something here changed how you see, consider supporting this work.
Support this work