Baxos: Backing off for Robust and Efficient Consensus
Pasindu Tennage, Cristina Basescu, Eleftherios Kokoris Kogias, Ewa Syta, Philipp Jovanovic, Bryan Ford
TL;DR
Baxos tackles the vulnerability of leader-based consensus to liveness and DDoS-like attacks by substituting leader election with Random Exponential Backoff (REB) within the Synod Paxos core. It introduces a minimal, REB-based Paxos variant that supports lock-free termination, adapts to changing network delays, and remains attack-resilient while incurring modest overhead in attack-free settings. Through extensive wide-area experiments on AWS with micro-benchmarks and Redis/YCSB-A workloads, Baxos demonstrates up to 128% higher throughput under delayed view-change attacks, more uniform bandwidth utilization across replicas, and scalable performance up to nine nodes. These results suggest Baxos as a practical fallback for robust, high-availability consensus in adversarial or highly variable network environments.
Abstract
Leader-based consensus algorithms are vulnerable to liveness and performance downgrade attacks. We explore the possibility of replacing leader election in Multi-Paxos with random exponential backoff (REB), a simpler approach that requires minimum modifications to the two phase Synod Paxos and achieves better resiliency under attacks. We propose Baxos, a new resilient consensus protocol that leverages a random exponential backoff scheme as a replacement for leader election in consensus algorithms. Our backoff scheme addresses the common challenges of random exponential backoff such as scalability and robustness to changing wide area latency. We extensively evaluate Baxos to illustrate its performance and robustness against two liveness and performance downgrade attacks using an implementation running on Amazon EC2 in a wide area network and a combination of a micro benchmark and YCSB-A workload on Redis. Our results show that Baxos offers more robustness to liveness and performance downgrade attacks than leader-based consensus protocols. Baxos outperforms Multi-Paxos and Raft up to 128% in throughput under liveness and performance downgrade attacks under worst case contention scenarios where each replica proposes requests concurrently.
