Leader-Follower
A thread coordination pattern where one thread (leader) waits for events while others (followers) process them. The leader promotes a follower upon receiving an event.
Leader-Follower: One Node Writes, All Read
A single authoritative replica accepts writes; followers replicate and serve reads.
Leader-Follower in Production: Failover and Lag
Automatic failover, lag monitoring, and safe promotion.
Advanced Leader-Follower: Multi-Leader and the Raft Connection
Multi-leader topologies, conflict resolution, and how Raft operationalizes leadership.
Leader-Follower: Review & Mastery Quiz
Scenario questions on replication, failover, and conflicts.
Free Books & Guides
Refactoring.Guru — Leader-Follower
The definitive modern guide to the Leader-Follower pattern. Clear explanations, UML diagrams, real-world analogies, and code examples in multiple languages.
SourceMaking — Leader-Follower
A comprehensive companion guide covering the Leader-Follower pattern with detailed rules of thumb, criticisms, and robust code snippets.
GoF Design Patterns — Leader-Follower
The original Gang of Four book describing the pattern. Available in the "Design Patterns: Elements of Reusable Object-Oriented Software" on Wikipedia.
Official Documentation
Refactoring.Guru — Leader-Follower
The definitive modern guide to the Leader-Follower pattern. Clear explanations, UML diagrams, real-world analogies, and code examples in multiple languages.
Wikipedia — Leader-Follower Pattern
Wikipedia article explaining the Leader-Follower pattern with examples and history.
Video Courses
freeCodeCamp — Design Patterns Course
A comprehensive multi-hour video course covering all major design patterns with implementations in JavaScript and TypeScript.
Design Patterns in Modern JavaScript Playlist
YouTube playlist covering creational, structural, and behavioral patterns with clear code walkthroughs.
Web Dev Simplified — Leader-Follower
Clear, concise video tutorials covering design patterns with practical examples.
Practice & Examples
Awesome Low-Level Design (GitHub)
A curated collection of free LLD resources, pattern implementations, and interview problems across multiple languages.
Design Patterns Implementation (GitHub)
The most popular open-source collection of design pattern implementations with detailed explanations.
Refactoring.Guru Examples in Leader-Follower
Code examples of the Leader-Follower pattern in TypeScript, Python, Java, and more.

