Understand it deeply. Then explain it.

Most system design prep teaches you the words. An interviewer who has run the thing in production can tell in two follow-ups whether you have. These deep dives go to the depth the follow-ups reach — and each one ships with a lab you can run on your laptop to see the failure mode for yourself.

The library

Core concepts

Partitioning and sharding

Splitting data across machines is easy to say and hard to undo. The partition key you pick on the whiteboard decides which queries are cheap, where the hot spots land, and what a resize costs.

18 min · free
Core concepts

Replication and consistency

Copies make a system survive failures and serve more reads. They also make "the current value" a question with more than one answer, and the interview is about which answer you chose on purpose.

20 min · free
Core concepts

Caching

A cache is a second copy of your data that is allowed to be wrong. Every design decision about it is a decision about how wrong, for how long, and who notices.

17 min · free
Core concepts

Idempotency

Networks retry, users double-click and message brokers redeliver. Idempotency is how a system makes "it happened twice" mean the same as "it happened once".

16 min · free
Core concepts

Optimistic vs pessimistic locking

Two people hit Save on the same row at the same moment. Whose change wins is not something the database decides for you, and the answer you pick says a lot about how your data is used.

12 min · free
Key technologies

Kafka

A replayable log that most candidates describe as a queue. The difference is where the interesting follow-ups live.

22 min · runnable lab · free
Key technologies

Redis

Most candidates call it a cache. It is a single-threaded data structure server, and nearly every good follow-up comes from that sentence.

24 min · runnable lab · free
Key technologies

Postgres

The default answer for a system of record, and usually the right one. The interview is about knowing exactly where it stops being right: MVCC bloat, connection limits, and the single writer.

22 min · free
Key technologies

Cassandra

A write-optimised, leaderless wide-column store that is very good at exactly the queries you designed it for and bad at every other one. The data model is the whole interview.

20 min · free
Key technologies

Elasticsearch

A search engine that people keep trying to use as a database. It is extraordinary at relevance and aggregations over text, and it is a derived copy of your data — never the source of truth.

19 min · free
Key technologies

API gateway

The box every design draws between the client and the services. It earns its place by owning the cross-cutting concerns once, and loses it the moment business logic starts living there.

15 min · free
Patterns

Event-driven work queues

Move slow work out of the request path and onto workers. The pattern is one box on a diagram; the interview is about what happens when a worker dies halfway, a job fails forever, or the queue grows faster than you drain it.

20 min · premium, ₹1
Patterns

Change data capture

Turn every committed change in your database into an event, without the application having to remember to publish it. The pattern behind search indexes, caches, analytics and outboxes that never drift.

18 min · premium, ₹1
Patterns

Scaling reads

Most systems read ten to a thousand times more than they write. The ladder from "add an index" to "precompute every timeline" is the same in every design, and the interview tests whether you climb it in the right order.

19 min · premium, ₹1
Question breakdowns

Design a ride-hailing backend

Riders request, drivers move, and a match has to happen in seconds against a map that changes every few seconds. The interview is location indexing, matching without double-booking, and a trip state machine that survives flaky phones.

28 min · premium, ₹1
Question breakdowns

Design a payments ledger

A ledger is the one system where "eventually consistent" and "approximately right" are both unacceptable. Double-entry, immutability and idempotency are not best practices here; they are the design.

26 min · premium, ₹1

See every lesson by track →

Mock interview

Free

Practise a system design interview out loud

Talk it through with an interviewer: they ask a design question, you answer out loud and draw on a whiteboard, and you finish with scores and the lessons to read next.

Start a mock interview →

Why this is different

Pricing

Free

Core concepts and key technologies

Partitioning, replication, caching, idempotency, locking, and deep dives on Kafka, Redis, Postgres, Cassandra, Elasticsearch and API gateways. No account, no email, no paywall.

11 lessons · free forever
Premium

Patterns and question breakdowns

The patterns that show up in every design — work queues, change data capture, scaling reads — and full breakdowns of real interview questions. The opening of each is free; unlock the rest of a lesson for ₹1 with UPI, PhonePe or a card. No subscription.

5 lessons · ₹1 each · no subscription
Mock interview

Practise it out loud

A voice interview with a whiteboard, follow-ups on what you skip and a debrief that points at the lessons to read. Runs in your browser.

Free · voice and whiteboard · no account