Motivating global stabilization
The global stabilization time (GST) assumption from Dwork, Lynch and Stockmeyer's partial-synchrony paper looks unrealistic, but it is both elegant and practically meaningful. After walking through the FLP impossibility proof's central lemma, consensus is recast as a game against an adversary (an electrical storm) that can delay messages or crash one process. GST simply limits the adversary to delaying finitely many messages for finite time. A protocol proved correct under GST must therefore reach a decision from any configuration that delays could produce, which is a strong, concrete recovery guarantee.
Related posts
- Simulation Testing For Liveness
TigerBeetle hardMasterTigerBeetle's VOPR simulator now has a "liveness" mode alongside its "safety" mode, because uniformly random, eventually-healing faults can never surface livelocks such as a permanently asymmetric partition that triggers endless view changes. After a period of random fault injection, the simulator picks a quorum as the core, restarts and heals everything inside it, makes all failures involving non-core replicas permanent, and then requires the core to process every transaction before a timeout. The new mode found a resonance bug in which parallel log repair combined with round-robin repair targets always sent each missing op to the one replica that also lacked it, a stall that previously cleared only when a restart reset the counter.
- Choosing QuePaxa, an unusual consensus algorithm
Cloudflare hardMasterCloudflare's Meerkat, a globally distributed consensus service for its internal control plane, uses QuePaxa instead of Raft or Multi-Paxos. Leader-based protocols stall over wide-area networks: mistaken or slow fault detection triggers leader elections, and competing candidates can interfere destructively and cause metastable failures. QuePaxa avoids this with an optional leader, no reliance on fault detection, and randomized priorities that make proposers converge on the highest-priority proposal. It still decides in one round trip through the leader in good conditions and degrades gracefully otherwise. Its hedging timeout is not fault detection, so it can be very small (e.g., 5ms on 100ms links) without freezing the system.
- How we use formal modeling, lightweight simulations, and chaos testing to design reliable distributed systems
Datadog Engineering hardMasterDatadog validated the design of Courier, a multi-tenant message queue built on multiple FoundationDB clusters after its March 2023 outage, by combining TLA+ formal modeling, lightweight simulations and chaos testing. Each tenant is sharded across 4 of 8 FoundationDB clusters so that no two tenants share the same set, and brokers health-check clusters and route around failures. The TLA+ spec models brokers, senders and receivers with weak fairness, and TLC checks properties such as at-least-once delivery across every reachable state. Simulations then cover what model checking cannot, such as latency, cost and scalability. Together these give design-level confidence that unit tests miss, at the cost of keeping models and simulations in sync with the design.
- We Put a Distributed Database In the Browser – And Made a Game of It!
TigerBeetle easyNoviceTigerBeetle's deterministic simulator, the VOPR, is compiled to WebAssembly via Zig and wrapped in a playable browser game that runs real TigerBeetle replicas across three levels. The levels run under perfect conditions, then Jepsen-style network faults, crashes and latency, and finally up to 8% read and 9% write storage corruption per replica. The VOPR mocks all network and storage I/O in a single process, verifies linearizability and dilates time: 3.3 seconds of simulation covers 39 minutes of real-world testing, and a day covers two years. Getting the whole cluster under WebAssembly's 2 GiB memory limit was the main porting challenge, and the post contrasts VSR's round-robin view changes with Raft's randomized elections.
- Consilium: When Multiple LLMs Collaborate
Hugging Face mediumAdeptConsilium is a multi-LLM debate platform, built for the Gradio Agents & MCP Hackathon, where models like Mistral Large, DeepSeek-R1, Llama-3.3-70B and QwQ-32B discuss a question around a custom poker-table Gradio component and reach consensus. It also runs as an MCP server. Real debate only emerged after each model got a distinct role (critic, advocate, strategic advisor and others). A lead analyst synthesizes results, and users can choose full-context, ring or star communication topologies, 1-5 rounds, and decision modes such as majority or ranked-choice voting. A research agent with rate-limited tools (web, Wikipedia, arXiv, GitHub, SEC EDGAR) serves function-calling models, and Open Floor Protocol support is underway so external agents can join.