LeetDezine — System Design and Internals
Case Studies
Initializing search
    • Home
    • Start Here
    • Concepts
    • Estimation
    • Foundation
    • Ascent
    • Expedition
    • Summit
    • Battleground
    • Home
    • Start Here
    • Concepts
    • Estimation
    • Foundation
    • Ascent
    • Expedition
    • Summit
    • Battleground
    leetdezine.com
    CS

    Apply the Concepts

    Case Studies

    Interview-depth system design — every decision justified, every tradeoff explained. Pick your level and start building.

    Foundation ● ○ ○ ○ ○
    First principles of scale. Unique ID schemes, sharding strategies, read-heavy caching, hot key mitigation, pre-generated key pools, tiered storage.
    Snowflake IDUUIDConsistent HashingKGS
    Open level →
    Ascent ● ● ○ ○ ○
    Async pipelines and multi-channel delivery. Kafka fan-out, per-channel workers, retry/DLQ, scheduled dispatch, content deduplication, async uploads.
    Kafka Fan-outRetry / DLQCircuit BreakerTTL Sweeper
    Open level →
    Expedition ● ● ● ○ ○
    Distributed rate control. Rate limiting algorithms from scratch, atomic Redis counters, distributed enforcement, rule management, DDoS layered defence.
    Token BucketSliding WindowLua AtomicityDDoS Defence
    Open level →
    Summit ● ● ● ● ○
    Complex real-world systems. KV store internals, leaderless replication, LSM trees — and Netflix: transcoding pipeline, adaptive bitrate, CDN at scale, Elasticsearch, fault isolation.
    LSM TreesQuorum W/RHLS / DASHCDNElasticsearch
    Open level →
    Battleground ● ● ● ● ●
    Real-time systems at scale. WebSocket connection management, per-conversation sequencing, offline queues, thundering herd, backpressure, hot partition salting.
    WebSocketsThundering HerdBackpressureHot Partition
    Open level →