Skip to content
Tech Intuition
Tech Intuition

Appearance

Theme

Signal · Dark with amber

Background

Slow stars and the odd comet

Connect

Interactive system design labs

Learn systems by breaking them.

Watching a system fail, and fixing it with a slider, is what makes the idea stick. Every lab is free, runs in your browser and pairs with a written lesson.

Interactive system design labs

Start here · 3D world · 8 min

Distributed rate limiter

Fly through a rate-limited system in 3D, then break it: stop instances, take Redis offline and watch three counting strategies disagree.

  • Simulation · 5 min

    Consistent hashing ring

    Add and remove nodes and see exactly which keys move. Compare hash mod N with a consistent hash ring, then tame it with virtual nodes.

    • Why hash mod N reshuffles almost everything
    • Why a ring moves only about 1/N of the keys
    • How virtual nodes even out the load
  • Simulation · 6 min

    Load balancing arena

    Send the same traffic through round robin, random, least connections and power of two choices, then kill a server and see what health checks do.

    • Why round robin struggles when requests differ in cost
    • How least connections and two choices adapt
    • What a health check actually buys you
  • Simulation · 6 min

    Cache eviction lab

    Replay one stream of requests through FIFO, LRU, LFU and a cache that knows the future, and see how traffic shape and cache size change the hit ratio.

    • Why no eviction policy wins on every kind of traffic
    • How a scan breaks LRU and shifting popularity breaks LFU
    • Why cache size has cliffs, and what hit ratio does to latency
  • Simulation · 6 min

    Sharding hot-spot simulator

    Three shards, two idle, site down. Change the shard key, run a flash sale on one tenant and see why adding shards does not cool a hot one.

    • Why a cluster at 70% can refuse requests
    • What each shard key does to load and to query fan-out
    • How to split a hot tenant, and what it costs
  • Simulation · 7 min

    Kafka rebalancing lab

    Add, stop and crash consumers and watch the group rebalance under four assignors at once: which partitions move, who stops reading, and what gets replayed.

    • Why an eager rebalance stops the whole group
    • What sticky and cooperative assignment save
    • Why a crash replays records, and a clean stop does not
Roadmap

Coming next.

  • Planned

    Queues and backpressure

    Overload a worker pool, add retries and a dead-letter queue, and see when a queue helps and when it just delays the failure.

  • Planned

    Quorum reads and writes

    Pick N, R and W, break replicas and partitions, and see when a read returns stale data.

Prefer to read first? Start the system design track

Send a message

It goes straight to my inbox. I usually reply within a few days.