NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Cabinet: Dynamically Weighted Consensus Made Fast

Gengrui Zhang, Shiquan Zhang, Michail Bachras, Yuqiu Zhang, Hans-Arno Jacobsen

Distributed systems rely on consensus algorithms to maintain a consistent state across multiple nodes. However, traditional "majority-rule" protocols like Raft and Paxos often struggle in large-scale, heterogeneous environments. This paper introduces Cabinet, a consensus algorithm that replaces rigid simple majorities with a dynamically weighted quorum system to achieve significant performance gains.

High-level architecture of a distributed system utilizing a consensus module.

The Bottleneck of Majority Rule

In standard consensus, a leader must wait for responses from a majority of nodes ($n/2 + 1$) to commit an operation. This approach faces three primary challenges:

  1. The Straggler Effect: The system's speed is limited by the slowest nodes in the majority.
  2. Linear Quorum Growth: As the cluster grows, the number of required responses increases linearly, regardless of actual node reliability.
  3. Static Fault Tolerance: Hard-coded thresholds do not adapt to changing network conditions or varying node health.

The Cabinet Approach: Weighted Quorums

Cabinet addresses these issues by assigning weights to nodes based on their responsiveness. Instead of counting nodes, the system counts total weight to reach a quorum. This allows the system to prioritize faster, more reliable nodes without sacrificing safety.

Comparison of consensus models: (a) Hierarchical, (b) Majority-quorum (traditional), and (c) Weighted-quorum (Cabinet).

Key Innovations

  • Dynamic Weight Reassignment: The leader tracks follower responsiveness using a "weight clock." Faster nodes are assigned higher weights in subsequent rounds, allowing the system to move at the speed of its most capable components.
  • Cabinet Members: The $t+1$ nodes with the highest weights are designated as "Cabinet Members." If these top-tier nodes agree, consensus is reached immediately.
  • Customizable Failure Threshold ($t$): Unlike Raft's fixed $n/2$ limit, Cabinet allows developers to set a custom threshold $t$. The system then calculates a weight scheme (often geometric) that ensures safety and liveness.

Performance and Resilience

The authors evaluated Cabinet using a general-purpose benchmark framework against YCSB and TPC-C workloads on clusters of up to 100 nodes.

Key Results

  • Significant Speedups: In a 50-node heterogeneous cluster, Cabinet achieved 3x higher throughput and 3x lower latency than Raft across all YCSB workloads.
  • Network Skew Resilience: Under conditions where some network zones were significantly delayed, Cabinet outperformed Raft by 6x in throughput and 5.5x in latency.
  • Rapid Recovery: When high-weight nodes were intentionally crashed, Cabinet quickly reassigned weights to remaining healthy nodes, recovering performance within a few rounds.

Conclusion

By "liquefying" fault tolerance and treating responsiveness as a proxy for node health, Cabinet provides a flexible, high-performance alternative to traditional consensus. It remains "Raft-like" in its simplicity, requiring only minor modifications to existing RPC calls, making it a practical choice for modern, heterogeneous distributed systems.

Summary updated

BibTeX
@article{zhang2025cabinet,
  author = {Gengrui Zhang and Shiquan Zhang and Michail Bachras and Yuqiu Zhang and Hans-Arno Jacobsen},
  title = {{Cabinet: Dynamically Weighted Consensus Made Fast}},
  journal = {Proc. VLDB Endow.},
  year = {2025},
  doi = {10.14778/3718057.3718071},
}
Figure