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.

Leaderless Replication: Simplicity Through Redundancy

Explore leaderless replication, a technique for distributed databases like Amazon's Dynamo, which enhances availability by allowing any node to accept writes and uses quorum logic for consistency. Learn about write and read operations, conflict resolution, and tunable consistency parameters.

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.