Skip to main content

The Raft Protocol explained via SQL database | CockroachDB | consensus protocol

In this Cockroach University lesson titled “The Raft Protocol explained via SQL Database", you will learn about the Raft protocol (the consensus algorithm) and how it’s used to perform durable writes. Then we’ll discuss the concepts leaders, followers, leases, and leaseholders. CockroachDB will be used as an example of a SQL database. 0:00 What is the Raft Protocol 1:13 What you need to know about the Raft Protocol In this lesson, you will learn to define the following terms: •Raft •Leader •Follower •Lease •Leaseholder You will also learn: •How to describe the series of events that occur in a Raft group before a write can be shown to readers. Learn more about CockroachDB by signing up for free training at Cockroach University: --------------------------------------------------------------------------------------------------------------------------- Reference Links •Scaling Raft: (Cockroach Labs Blog post by Ben Darnell) •Replication Layer: (CockroachDB Docs) •The Secret Lives of Data: (visualization of the Raft protocol by Ben Johnson) --------------------------------------------------------------------------------------------------------------------------- Careers: CockroachCloud: Blog: Docs: Community Slack: Twitter: