X
Distributed Systems
Consensus algorithms, capacity planning, load simulation
3 lessons
Capacity Planning
Microservices with capacity data: API Gateway, Cache, Kafka, PostgreSQL, MongoDB. Bottleneck detection, latency paths, and scaling recommendations.
Load Simulation
Interactive load test: 5,000 rps through Order flow. Watch packets fly, counters increment, and PostgreSQL become the bottleneck.
[DEEP] Raft Consensus Algorithm
The algorithm behind etcd, Kafka KRaft, ClickHouse Keeper: leader election, log replication, split votes, partitions