⬡
·13 min read
Raft: Consensus, Visualized
An interactive deep-dive into the Raft consensus algorithm — leader election, log replication, snapshots and truncation — with two live simulations you can explore and break.
Tag
2 posts tagged with this.
An interactive deep-dive into the Raft consensus algorithm — leader election, log replication, snapshots and truncation — with two live simulations you can explore and break.
We cut a 45-minute CI pipeline to 12 minutes by measuring every task and solving a knapsack problem to distribute builds across GitHub Actions workers. It worked. It was also the wrong problem: a static assignment is a bet placed before the run, and it cannot stay optimal once the run has better information.
All tags