The Ignorant Protocol
One Raft crate, from a browser tab you can break to seven bare-metal boards A real Raft, live in your browser: raft.umbertogotti.dev . Here is how it got there. The protocol has no idea where it is running. That is not a limitation. It is the entire point. Prologue Most distributed systems are born married to their deployment. The consensus code reads the clock. It opens the socket. It decides when to fsync. It spawns the thread. Five years later, that marriage is the architecture: you cannot test the protocol without the network, you cannot move it without rewriting it, and you cannot prove it without deploying it. This is about a Raft implementation that refused the marriage. It has never read a clock. It has never opened a socket. It has never spawned a thread. It runs in a single test thread, in a browser tab, in OS processes, in Kubernetes pods, in an emulated Cortex-M4, and on seven bare-metal boards on an Ethernet switch — two different chips, one Raft cluster. The...