Zyzzyva
Ramakrishna Kotla, Lorenzo Alvisi, Mike Dahlin et al. · ACM Transactions on Computer Systems · 2009
A longstanding vision in distributed systems is to build reliable systems from unreliable components. An enticing formulation of this vision is Byzantine Fault-Tolerant (BFT) state machine replication, in which a group of servers collectively act as a correct server even if some of the servers misbehave or malfunction in arbitrary (“Byzantine”) ways. Despite this promise, practitioners hesitate to deploy BFT systems, at least partly because of the perception that BFT must impose high overheads. In this article, we present Zyzzyva, a protocol that uses speculation to reduce the cost of BFT replication. In Zyzzyva, replicas reply to a client's request without first running an expensive three-phase commit protocol to agree on the order to process requests. Instead, they optimistically adopt the order proposed by a primary server, process the request, and reply immediately to the client. If the primary is faulty, replicas can become temporarily inconsistent with one another, but clients detect inconsistencies, help correct replicas converge on a single total ordering of requests, and only rely on responses that are consistent with this total order. This approach allows Zyzzyva to reduce replication overheads to near their theoretical minima and to achieve throughputs of tens of thousands of requests per second, making BFT replication practical for a broad range of demanding services.
Cited by 292 works. doi:10.1145/1658357.1658358
Authors
References
- Lecture Notes in Computer Science 1205
- Time, clocks, and the ordering of events in a distributed system
- The Byzantine Generals Problem
- Reaching Agreement in the Presence of Faults
- Impossibility of distributed consensus with one faulty process
- Practical Byzantine fault tolerance
- Implementing fault-tolerant services using the state machine approach: a tutorial
- Linearizability: a correctness condition for concurrent objects
- Practical byzantine fault tolerance and proactive recovery
- Consensus in the presence of partial synchrony