The a16z Podcast
The a16z Podcast

Before Blockchains, There Was State Machine Replication

Every blockchain today relies on replication techniques first developed in the 1980s by researchers who weren't thinking about cryptocurrencies at all. In this episode, Tim Roughgarden speaks with MIT professor and Turing Award winner Barbara Liskov, one of the pioneers of programming languages

Featured Speakers

a16z HostBarbara Liskov Guest

Topics Discussed

Episode Summary

Executive Summary: Barbara Liskov explains how her work on modular programming, distributed systems, viewstamped replication, and PBFT grew from practical system needs: reliable shared files, fault-tolerant replication, and eventually malicious Byzantine failures. The conversation highlights the theory-practice loop behind modern blockchains, the role of DARPA/NSF and MIT, and why AI increases the need for verification, specifications, and systems research.

Main Topics: From programming languages to distributed systems (Priority: 5/5): Liskov describes moving from Clu to distributed systems after seeing Bob Kahn’s vision of distributed computing and realizing it was a major unsolved problem. Her transition was less a hard pivot than an extension of her modular, abstraction-based approach into distributed settings. Modularity as the core design principle (Priority: 5/5): She argues that large programs and proofs both depend on modular reasoning: clear specifications, independently verifiable components, and separation of concerns. This mindset shaped both her programming language work and later replication protocols. Viewstamped Replication and practical fault tolerance (Priority: 5/5): Liskov and Brian Oki developed a practical replication protocol for benign failures, motivated by shared file systems and reliability. The key innovation was view changes: if a primary failed, backups could elect a new primary without losing committed history. From benign failures to Byzantine faults (Priority: 5/5): PBFT extended Viewstamped Replication to malicious settings after DARPA highlighted internet attacks as a research need. The protocol added cryptography, certificates, and a stronger quorum model so systems could tolerate lying replicas and adversarial behavior. Theory and practice in distributed systems (Priority: 4/5): Liskov emphasizes that theoretical results guided practical protocol design, especially replica quorum sizes and certificates. At the same time, benchmarks and usable implementations helped bridge the gap between formal possibility and real-world adoption. State machine replication and blockchain foundations (Priority: 5/5): The discussion connects Liskov’s work to blockchain architecture: consensus/replication layers order operations, while application logic sits above them. Modern blockchains are presented as a direct embodiment of state machine replication ideas developed decades earlier. AI, verification, and the future of computer science (Priority: 4/5): Liskov says AI will likely automate low-level code generation but increase the need for verification, specifications, and higher-level software design. She sees major systems research opportunities beneath AI and worries about how AI may enable harmful behavior.

Key Arguments: Large systems must be built through modular specifications and independent verification; otherwise complexity becomes unmanageable. Replication should shift work to replicas rather than rely on far-flung users or fragile locking schemes. Viewstamped Replication solved the 'window of vulnerability' in two-phase commit by allowing a new primary to take over in a new view. PBFT was made possible by combining practical distributed-systems design with theoretical insights like quorum thresholds and certificates. Byzantine faults require stronger assumptions than benign crashes: replicas may lie, and messages may be maliciously altered. Blockchain protocols are a concrete descendant of state machine replication, where consensus orders operations and execution is separated from ordering. AI will not eliminate the need for computer science research; it will raise the importance of verification, correctness, and high-level program understanding.

Data Points: Replicas needed for benign failure tolerance: 2f + 1 - Used in Viewstamped Replication to survive f failures under crash/benign assumptions. Replicas needed for Byzantine failure tolerance: 3f + 1 - Required in PBFT when replicas may lie or act maliciously. Certificate threshold: 2f + 1 signed messages - PBFT uses a certificate of 2f + 1 matching signatures as proof that a protocol step occurred. Timing of Viewstamped Replication: late 1980s - The protocol was published in the late 1980s after work began in the early/mid-1980s. Timing of PBFT: late 1990s - PBFT was developed after DARPA highlighted malicious internet attacks as a research problem. Conference era: SOSP as the main conference in the earlier systems community - Liskov recalls systems and database researchers being together at a small, shared conference community. Delay before practical adoption: about 10 years - She notes that Viewstamped Replication took roughly a decade before people began using it.

Pivotal Quotes: "I always like to work on stuff that looks important." — Barbara Liskov: Explaining why she pursued replication and fault tolerance research. "Modularity is everything in building large programs." — Barbara Liskov: Describing the connection between program structure, theorem proving, and scalable system design. "we were in a funhouse full of these distorting mirrors" — Barbara Liskov: Her analogy for the challenge of designing a protocol under Byzantine failures, where replicas can lie.

Implications: The episode frames modern blockchain consensus as a long-evolving systems idea, not a new invention. It also suggests AI will shift CS toward verification, abstraction, and systems reliability rather than eliminate the need for coders.

🔓 Sign Up for Unlimited Episode Search

About The a16z Podcast

The a16z Podcast discusses tech and culture trends, news, and the future – especially as ‘software eats the world’. It features industry experts, business leaders, and other interesting thinkers and voices from around the world. This podcast is produced by Andreessen Horowitz (aka “a16z”), a Silicon Valley-based venture capital firm. Multiple episodes are released every week; visit a16z.com for more details and to sign up for our newsletters and other content as well!

View all episodes from The a16z Podcast