Jeffrey M. Barber

Tombstone

Adama net: the cluster protocol, routing, and gossip

Jan 2022 โ€“ Apr 2026 ยท age 40โ€“44

What it was

The network layer that let Adama's machines talk to each other. Each pair of hosts shared one mutual-TLS socket, and every frame carried a control byte and a stream id, so many requests and long-lived document streams multiplexed over it. Seventy-one message types were compiled from annotated Java classes into generated readers and switch dispatch. Gossip, the failure detector that tracks which machines are alive, rode on the same socket as just another stream. Backends advertised which spaces they could run, rendezvous hashing picked a host for each document, and a "findbind" let the chosen host claim any archived or unknown document with one conditional SQL UPDATE. It replaced gRPC in March 2022, ran in production for years, and cut warm connects from 462 to 12 milliseconds.

Wins, for the age

What it taught

Genealogy

Ancestors: Async Serialization: length-prefixed frames pushed down a socket, the first protocol. Career Facebook: streaming fabrics at scale. Goat: a game master pushing JSON to every screen over tiny frames. Z Multicast Toolbox: peers discovering each other without a server. ZNetFS: many peers, many connections, chunked transfers by hash. Descendants: none on record. The protocol, gossip and findbind wait here for whoever wants them. Part of: Adama.

Epitaph

Seventy-one messages on one socket per pair of machines, gossip riding along as just another stream, and a host that said "mine" to any document nobody else had. A warm connect took twelve milliseconds.