PlanetScale
PlanetScale logoPlanetScale · Feature trail

Consensus Algorithms

8 posts · Aug 2020 – Jul 2022

What this trail covers

This series explores consensus algorithms, focusing on durability at scale. Part 1 introduces the core problems consensus algorithms solve: distributed durability, availability, and automation. It emphasizes the need for flexible algorithms that can adapt to complex cloud provider topologies and pricing structures, contrasting this with rigid traditional algorithms like Paxos and Raft. The approach taken is engineering-focused, using terminology and an objective-based, top-down methodology to identify and separate concerns, enabling better trade-offs and more flexible implementations. The series aims to demonstrate how these objectives can be achieved, with a specific focus on Vitess and vanilla MySQL.

All PlanetScale trails