Skip to main content

11 docs tagged with "distributed-systems"

View all tags

Common Use Cases of Consistent Hashing

Consistent hashing is the backbone of many distributed systems. From caches and databases to load balancers and CDNs, it enables deterministic routing with minimal reshuffling when nodes change. Let’s explore the most common real-world use cases.

Designing a Load Balancer

Load balancing is about deciding where to send the next request. From weighted round robin to response-time aware routing to consistent hashing at L4 or L7, each strategy has trade-offs in complexity, fairness, and statefulness. This guide walks through the common approaches and key design considerations.

Operational Transforms Explained

A deep dive into Operational Transformation (OT): the algorithm behind real-time collaborative editing systems like Google Docs.

Why Celebrities Are Necessary

Without celebrities, we’d never discover concepts like hot shards, read contention, or write amplification. Celebrities are the reason these patterns exist.