Account
Play free

Playable systems tutorials

AI built it. Can you tell if it will stand?

One email with the link. We don’t keep your address.

Sent. Open it on your laptop.

Watch Kafka and Redis hold and break, in your browser. No code. First chapter free, €39 once for everything.

Proposed by your AI

Would you approve this?

  1. Kafka 01 The topic has two partitions. Consumers were lagging, so I added a third.

    Right.House of cards. Within a group each partition has one owner, so the third consumer sits idle. Play Kafka

  2. Kafka 04 Payments: replication factor 3, min.insync.replicas=2, acks=all, idempotence on.

    Right.This one holds. A write needs two copies before it is acknowledged, retries cannot duplicate it, and the topic stays writable with one broker down. Play Kafka

  3. Redis 05 On a cache miss, each request loads the product from the database.

    Right.House of cards. A thousand readers missing the same key become a thousand identical queries at once. Play Redis

  4. Redis 11 Balances get their own instance with noeviction. The cache gets allkeys-lru.

    Right.This one holds. Eviction policy is set per instance, so the cache can never push out a balance. Play Redis

The system design follow-up? You’ve watched it happen.

  1. Kafka 05A consumer crashes mid-batch. Does the work run twice?

    It can. Commit after processing and a crash replays whatever was not committed yet: at-least-once. Commit before and that work is skipped instead. Kafka cannot take a side effect back, so make it safe to repeat. Wave 5: Crash Course

  2. Kafka 07How do you keep each user’s events in order?

    Key them by user. The key picks the partition, and Kafka keeps order within a partition. The price is load: a celebrity’s key puts all of its traffic on one partition. Wave 7: Celebrity Effect

  3. Redis 04How does the cache stay in sync with the database?

    Not by itself: Redis never hears that the database changed. With cache-aside the application deletes or refreshes the key when it writes, and a TTL caps how stale a missed update can get. Lesson 4: Cache Gate

  4. Redis 14Every like hits one counter. Why didn’t more servers help?

    A key lives on one instance and all of its commands run there, so extra servers and connections never split it. Batch the increments, or split the counter and add up the parts, giving up one atomic total. Lesson 14: One Hot Key

Interview lessons

You can’t read your way to judgment.

How each way of learning a system compares
You make the callYou see it under loadFailures on demandA mistake costs
Docs and books NoNoNoNothing
Videos and talks NoSomeone else’s demoNoNothing
Lectures and courses NoNoNoNothing
Asking an AI NoNoNoFound in production
A local cluster YesIf you script itSomeAn afternoon
On the job YesYesWhen they happenAn outage
fivenines.dev YesYesYesA retry

In 225 studies of university science courses, lecture-only students were 1.5× as likely to fail as those who worked the material themselves. Freeman et al., PNAS, 2014 · Full text

Read the docs for the details. Play to make them stick.

No code. You run the system.

Animation. A service contract of four goals hangs over an empty cluster. Brokers rise to meet it while the budget drains. A wave of traffic runs through, one zone goes dark and its partitions fail over to the other two. The contract comes back as the debrief, with every goal met.

  1. 01Read the contract

    Throughput, deadline, durability, budget.

  2. 02Build for it

    Brokers, replicas, eviction, persistence. Everything costs.

  3. 03Run the wave

    Traffic and failures arrive on schedule.

  4. 04Read the debrief

    Measured against every goal. Miss one and retry.

Two systems. You pick the next.

€39 once unlocks every tutorial, new ones included. Chapter 1 of each is free. Pricing

Made for AI buildersBackend engineersSREsInterview prep

Which system next?

Confirmed. You’re on the list.

That link expired. Try again.

One email per new system. Nothing else. Privacy

Check your inbox to confirm.

I spent years at Uber on systems that had to stay up. The docs never taught me how they worked; making calls and watching what happened did. Now AI makes those calls in seconds. Someone still has to know if they will hold. I built fivenines.dev so that someone can be you.

Nick K.Founder · ex-Uber About us

Questions.

Do I write any code?

No. You make the calls an engineer makes (how many partitions, which eviction policy, where the replicas go) and the simulation shows what happens.

Who is it for?

Engineers who ship with AI and want to judge what it builds, and engineers preparing for system design interviews. You need to be able to program. You do not need Kafka or Redis experience. Who it’s for

Will it help in a system design interview?

With the parts about queues, caches and replication, yes. Interviewers ask what happens when a consumer crashes, a key gets hot or a replica falls behind; each of those is a lesson you play and watch. It does not coach the interview itself. Lessons for interviews

Is this the real Kafka and Redis?

No. They are deterministic models built from the official documentation, with numbers scaled to game units. Each tutorial lists what it models and what it leaves out.

How long does it take?

Kafka is 31 waves. Redis is 54 lessons, designed to take 8–12 hours. Progress saves to your account, so you can stop anywhere and carry on on another device.

Do I need an account?

Yes, for every tutorial, the free chapters too. It is free and has no password: sign in with Google, or with a link by email. Your progress is saved to it, so it follows you to any browser.

What does it cost?

Chapter 1 of every tutorial is free with a free account. One payment of €39, VAT included, unlocks everything, including tutorials added later. No subscription. What each chapter includes

Does it work on a phone?

Yes, but there is a lot to look at. A laptop is better.

Don’t ship a house of cards.