---
title: "A Tale Of Four Fuzzers"
description: "TigerBeetle's Adaptive Replication Routing (ARR) puts the primary in the middle of a replication ring so no single dropped message is critical."
url: "https://swe.quest/articles/a-tale-of-four-fuzzers-88cabf77780814b8"
canonical: "https://tigerbeetle.com/blog/2025-11-28-tale-of-four-fuzzers"
source: "TigerBeetle"
published: "2025-11-28"
difficulty: "hard"
kind: "Deep dive"
reading_minutes: 32
tags: ["testing","replication","distributed-systems","formal-methods","zig"]
---

# A Tale Of Four Fuzzers

A post on [TigerBeetle](https://swe.quest/sources/tigerbeetle.md), published 2025-11-28, 32 min read, Deep dive. Original: [https://tigerbeetle.com/blog/2025-11-28-tale-of-four-fuzzers](https://tigerbeetle.com/blog/2025-11-28-tale-of-four-fuzzers)

## Summary

TigerBeetle's Adaptive Replication Routing (ARR) puts the primary in the middle of a replication ring so no single dropped message is critical. It also reorders replicas dynamically by running routing experiments and measuring end-to-end prepare\_ok latency rather than modeling the network. Testing it took four different fuzzers rather than relying only on the VOPR whole-system simulator. The key lesson is to design subsystems around minimal, data-oriented interfaces (integers for op, time and view instead of injected clocks or replicas) so they can be fuzzed in isolation. Small state spaces such as route encoding can be exhaustively enumerated instead of randomly sampled.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [Replication](https://swe.quest/tags/replication.md) (Distributed systems)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [Formal methods](https://swe.quest/tags/formal-methods.md) (Architecture & design)
- [Zig](https://swe.quest/tags/zig.md) (Languages)

## Prerequisites

- consensus replication basics ([easy posts on Consensus](https://swe.quest/tags/consensus.md?difficulty=easy))
- property-based testing ([easy posts on Testing](https://swe.quest/tags/testing.md?difficulty=easy))
- quorums
- Zig basics ([easy posts on Zig](https://swe.quest/tags/zig.md?difficulty=easy))

## Keywords

TigerBeetle, Adaptive Replication Routing, VOPR, Deterministic Simulation Testing, Flexible Quorums, Viewstamped Replication

## Related posts

- [Simulation Testing For Liveness](https://swe.quest/articles/simulation-testing-for-liveness-7a5ba398eed57d56.md): TigerBeetle · 2023-07-06 · Hard · 4 min read · Formal methods, Testing, Consensus, Distributed systems, Resilience
  TigerBeetle'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.
- [A Descent Into the Vörtex](https://swe.quest/articles/a-descent-into-the-vortex-6dcd52020263ac13.md): TigerBeetle · 2025-02-13 · Medium · 3 min read · Testing, Chaos engineering, Distributed databases, Zig
  TigerBeetle has added Vortex, a non-deterministic, generative full-system test harness that complements its Deterministic Simulation Testing by exercising real production binaries and client libraries from the outside in.
- [Random Fuzzy Thoughts](https://swe.quest/articles/random-fuzzy-thoughts-74b3f2f1b21a2499.md): TigerBeetle · 2023-03-28 · Medium · 9 min read · Testing, Formal methods, Distributed systems, Zig
  Treating a fuzzer's byte slice as a finite PRNG unifies coverage-guided fuzzing with structured property-based testing: the entropy length measures input complexity, gives test-case minimization almost for free, and tells interactive simulations when to stop injecting faults.
- [We Put a Distributed Database In the Browser – And Made a Game of It!](https://swe.quest/articles/we-put-a-distributed-database-in-the-browser-and-made-a-game-of-it-0b24aa4c3e59c84b.md): TigerBeetle · 2023-07-11 · Easy · 5 min read · Formal methods, Consensus, Testing, WebAssembly, Zig
  TigerBeetle'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.
- [How we use formal modeling, lightweight simulations, and chaos testing to design reliable distributed systems](https://swe.quest/articles/how-we-use-formal-modeling-lightweight-simulations-and-chaos-testing-to-design-aca03cf9b6abf48d.md): Datadog Engineering · 2024-11-20 · Hard · 23 min read · Formal methods, Queues & messaging, Distributed systems, Chaos engineering, Multi-tenancy
  Datadog 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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
