Explore the new concurrency mechanism in Ruby called Ractor through a practical implementation of the Raft distributed consensus algorithm. Dive into this conference talk that demonstrates how to build a simple Raft implementation from scratch using Ractor, showcasing its potential for performance improvements and ease of reasoning compared to threaded models. Learn about Ractor's well-defined sharing and messaging system, and understand how it can be applied to model distributed systems like Etcd, Console, and Kafka. Gain insights into one of Ruby's most exciting new features while discovering the straightforward nature of the Raft algorithm, designed for easy comprehension and implementation in distributed data stores.
Overview
Syllabus
RubyConf 2021 - Learning Ractor with Raft by Micah Gates
Taught by
Ruby Central