Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

Ambulance: saving BFT through racing

Published 23 Jun 2026 in cs.DC | (2606.25099v1)

Abstract: Today's practical Byzantine Fault Tolerant (BFT) state machine replication deployments are vulnerable to slowdowns. The main culprit is timeouts. Aggressive timeouts spuriously trigger expensive leader changes, while conservative timeouts leave the system idle and let slowdowns severely inflate latency. Two main alternatives exist: hedging, which improves recovery from slow leaders but still incurs a time-based hedging delay, and cooperative asynchronous protocols, which recover quickly from slowdowns but suffer from high common-case latency and low throughput. This paper presents Ambulance: a BFT state machine replication protocol that sidesteps this trade-off through protocol-rigged races, where replicas, rather than race against the clock, race against each other by executing protocol steps. This enables Ambulance to achieve high throughput and low latency comparable to state-of-the-art timeout-based BFT, while matching the robustness of cooperative approaches.

Summary

  • The paper introduces protocol‐rigged racing as a novel mechanism to mitigate leader slowdowns in Byzantine fault-tolerant state machine replication.
  • It details a cooperative strategy with distinct fast leader and slower replica lanes that together produce verifiable consensus without idle waiting.
  • Empirical results show that Ambulance significantly lowers peak latency and sustains high throughput even under adversarial slowdown conditions.

Protocol-Rigged Racing for Byzantine Fault Tolerance: A Technical Analysis of "Ambulance"

Motivation and Problem Statement

The "Ambulance" protocol (2606.25099) addresses fundamental limitations in Byzantine Fault Tolerant (BFT) state machine replication (SMR) caused by replica slowdowns. While timeout-based leader-driven protocols such as PBFT and Autobahn offer high throughput and low latency under ideal conditions, they suffer severe latency spikes in the presence of slow leaders, due to the coarse granularity of timeout mechanisms. Neither hedging nor asynchronous approaches solve this trade-off satisfactorily: hedging still incurs blocking through time-based delays, while asynchronous protocols unnecessarily degrade common-case latency. These deficiencies impair practical distributed deployments, notably in geo-distributed ledger systems.

Protocol-Rigged Racing: Design Principles

Ambulance's central innovation is the concept of protocol-rigged racing, wherein replicas race against each other, not against the clock. The leader executes protocol steps designed to be strictly fewer (faster) than those run by other replicas. A productive, cooperative approach is implemented: regardless of race outcome, protocol work performed by all participants directly accelerates consensus. This eliminates idle waiting characteristic of timeout or hedging delays and guarantees forward progress.

Two central requirements are satisfied:

  • Cooperativity: Concurrent proposal attempts do not destructively interfere; replicas and leader perform protocol actions that support commitment regardless of outcome.
  • Productivity: All work, even during "detection," is directly leveraged for fast recovery or commit, minimizing wasted computation.

Protocol Architecture

Race Phase

Ambulance organizes consensus into multiple proposal lanes. Each replica, including the leader, operates a distinct lane. The leader executes a two-step, quadratic communication pattern (fast path), yielding a "sports car certificate" for non-equivocation. Replicas execute a slower three-step linear pattern (replica lanes), resulting in "truck certificates". The cutoff for the race is locally determined as the formation of a quorum of truck certificates.

If the leader produces its certificate before the cutoff, it wins and leads to immediate commitment. Otherwise, consensus moves into a recovery path.

Recovery Path

In recovery, all replicas advance their own proposals through a phase sequence that includes:

  1. Value Recovery: Replicas select which value to commit based on evidence collected during the race phase, ensuring consistent selection if any proposal was already committed.
  2. Race Exclusion: An optional phase prevents Byzantine equivocation between leader and replica lanes.
  3. Persistence: Replica proposals are persisted for durability.
  4. Lane Election: A common coin mechanism (threshold signature) randomly selects a lane for commitment, precluding targeted attacks.

The ordering task is distributed, with randomization minimizing adversarial predictability and ensuring robust termination across views.

Implementation Details

The Rust implementation leverages Autobahn's data layer (motorization), achieving high bandwidth utilization and parallelized data dissemination. Multi-shot agreement is pipelined per slot for throughput optimization. Threshold signatures are used only for lane election, though message complexity may be further reduced by adopting them for votes.

Empirical Evaluation

Common Case Performance

Ambulance demonstrates parity with Autobahn in throughput and latency: both protocols reach 214k tx/s with median latencies around 205 ms for 4-node EC2 deployments. ParBFT2 and SMVBA lag behind, with ParBFT2 attaining 1.3x lower throughput and 1.9x higher latency, and SMVBA limited due to sequential consensus execution.

Slowdown Robustness

Under injected slowdowns, Ambulance outperforms Autobahn and ParBFT2:

  • Peak latency is reduced by 1.6–3.0x at 1–2s slowdowns and up to 10.8x at 5–10s durations.
  • Ambulance promptly activates recovery without stalling for timeout or hedging delays, maintaining rapid consensus under adverse conditions.
  • Matches SMVBA's pessimistic latency under slowdowns, but consistently surpasses hedging approaches.

Tail performance in production is substantially improved: p99 latency drops from 1.27s (Autobahn) to 662 ms (Ambulance) in a 24-hour deployment on Sei (n=40, geographically spread).

Comparison with Prior Work

Ambulance builds on and generalizes approaches from PBFT [30], Autobahn [45], SMVBA [49], and hybrid/hedging protocols like ParBFT2 [37]. Timeout-based BFT protocols are fundamentally limited by time-triggered leader changes; hedging improves but is still essentially blocking and unproductive; asynchronous approaches solve robustness but are impractically slow in benign environments.

Ambulance uniquely combines leader optimization (fast path), cooperative productive work from non-leader replicas, and randomized recovery, achieving both high common-case performance and strong robustness to slowdowns. Unlike PeerReview [51] or Copilot 70, Ambulance extends slowdown tolerance to SMR under Byzantine adversaries.

Theoretical Implications

Protocol-rigged racing formalizes a new slowdown-detection paradigm that is neither clock-based nor purely time-triggered. It demonstrates that precisely rigging protocol steps (not just time) can balance safety and liveness, achieving optimal latency under normal conditions and fast recovery under adversarial slowdown. The protocol guarantees termination with probability 1 (liveness), and prevents any two correct replicas from committing different values (safety), through globally verifiable termination certificates and common coin-based lane election.

This generalizes BFT consensus theory by showing that forward progress and recovery can be decoupled from any explicit timeout or delay, given careful protocol design.

Practical Implications and Future Directions

Ambulance’s deployment demonstrates the viability of protocol-rigged racing for production-grade distributed trust systems. The reduction in tail latency strengthens service-level guarantees for applications like blockchains, distributed ledgers, and replicated databases.

Potential avenues for further work include:

  • Fine-tuning leader advantage through dummy phases or hybrid protocol schedules in ultra-low latency deployments.
  • Extending protocol-rigged racing to large-scale (n > 100) deployments, possibly incorporating full threshold signature aggregation to control message complexity.
  • Exploring adaptive lane scheduling and dynamic pipelining for environments with heterogeneous slowdowns or highly variable network conditions.
  • Investigating formal integration with DAG-based consensus and dependency resolution to further improve throughput and parallelism.

Conclusion

Ambulance advances BFT SMR by shifting to protocol-rigged racing for slowdown detection and recovery, breaking the latency-robustness trade-offs inherent to timeout and hedging mechanisms. By making all proposal and detection work productive, and by randomizing recovery, it achieves state-of-the-art throughput and latency both in common-case and slowdowns. Its theoretical and practical results suggest a fundamental step forward in consensus protocol design, enabling robust distributed ledgers and datastores for demanding real-world applications.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 1 tweet with 13 likes about this paper.