GeeCON 2022: Andrii Rodionov - Implementing Raft protocol with task Loom

youtube.com 1 rok temu


We are surviving in an age of distributed systems. And 1 of the most challenging problems is the consensus problem. Raft is simply a consensus protocol that is utilized in many systems like etcd and Kubernetes, Consul, Kafka, Hazelcast etc. This protocol is based on asynchronous communication between nodes in a cluster (with leader election, log replication, tolerate node failures, timeouts etc.), so we request any useful mechanisms and language features to effectively implement protocol behaviour. During the talk, we will briefly discuss the basics of Raft, and then in code, we will see how parts of the protocol can be implemented utilizing the promising Loom project