Skip to main content
eScholarship
Open Access Publications from the University of California

Journal of Systems Research

Journal of Systems Research bannerUC Santa Cruz

Hierarchical Functionality-Oriented Layer-2 Scaling for Decentralized Resource Markets

Creative Commons 'BY-NC' version 4.0 license
Abstract

State-machine replication (SMR) hardened for Byzantine fault-tolerance (BFT) is a cornerstone of modern distributed systems. In particular, BFT SMR provides the foundation for modern blockchains. Standard BFT SMR protocols rely on a leader replica to order commands submitted by clients to the replicated state machine. Some of these protocols allow a command to execute at the leader after just two message delays. Another class of protocols is leaderless, permitting each replica to progress as long as it contacts enough of its peers. Leaderless protocols distribute the client load evenly and avoid the potential disruptions caused by a Byzantine leader. They can also leverage application-level commutativity for better performance. Unfortunately, to date, existing leaderless solutions take more than two message delays to order a command, or they slow down as soon as a single pair of non-commuting commands is detected. In this paper, we address this limitation. We present the first fast BFT SMR protocol. This protocol executes conflict-free commands after a single round-trip from any replica in the system. The protocol is explained with the help of a general framework to create correct-by-design leaderless BFT SMR protocols. To demonstrate the utility of the framework, we also present a Byzantine fault-tolerant variation of Egalitarian Paxos and a leaderless protocol tailored for large-scale deployments. Finally, discrete-event simulations with up to a thousand replicas show that our protocols scale and that the fast one achieves a 2–5×lower median latency than the state of the art.