← All courses
advancedsystem-designdistributed-systemsarchitecturebackendinterviewssenior

System Design: Intermediate to Senior

Distributed-systems trade-offs, failure modes and the deep dives senior interviews expect.

12 sections23 articles12 labs12 quizzes12 interactive sessions13 hours

The first 2 sections are free for any signed-in learner: 5 articles, 2 labs, 2 quizzes. No card needed.

Sign in to buy

About this course

Go past the building blocks and into the parts of a design that decide whether it survives: data spread across machines that disagree, transactions that span services, streams that fan out to millions, and failures that feed on themselves.

What you'll do

  • Reason with CAP/PACELC, availability maths and error budgets, and code the calculator
  • Build a consistent-hash ring, a quorum store with read repair, vector clocks, a saga orchestrator, a feed with celebrity fan-out, an event-sourced wallet, a circuit breaker, seat holds without double booking, a geo index + Bloom filter, webhook verification with token rotation and SLO burn-rate alerts, all graded by hidden tests
  • Tune live simulations: grow a hash ring, pick quorums, size Kafka partitions, stop a retry storm
  • Trace one food-delivery order through every idea, then build its core as a server-verified capstone
  • Practise the senior interview playbook on 15 classic questions

Prerequisites: System Design Foundations (or equivalent experience) and comfortable Python.

Course outline

03

Replication and Consensus

5 items

Leaders and followers, quorums, Raft, split brain and fencing, logical clocks and unique IDs.

  • Quorums, leaders and RaftArticle · 20 min
  • Time, order and IDsArticle · 8 min
  • Lab: Quorums, read repair and vector clockscompile Lab · 35 min
  • Practice: quorums, clusters and clocksInteractive · 12 min
  • Quiz: Replication and consensusQuiz · 6 min
04

Transactions Across Services

5 items

2PC vs sagas, orchestration vs choreography, the transactional outbox, idempotency and distributed locks.

  • 2PC, sagas and the outboxArticle · 20 min
  • Idempotency, exactly-once and distributed locksArticle · 8 min
  • Lab: An orchestrated saga for food orderscompile Lab · 30 min
  • Practice: keep the money rightInteractive · 10 min
  • Quiz: Transactions across servicesQuiz · 6 min
05

Streams and Event-Driven Systems

5 items

Logs, partitions and consumer groups, ordering, lag, stream processing, fan-out, CQRS and event sourcing.

  • Logs and streamsArticle · 20 min
  • Fan-out, CQRS and event sourcingArticle · 8 min
  • Lab: News feed fan-out and the celebrity problemcompile Lab · 30 min
  • Practice: partitions, consumers and fan-outInteractive · 12 min
  • Quiz: StreamsQuiz · 6 min
06

Architecture at Scale

4 items

Monoliths, modular monoliths, microservices and serverless; data ownership, BFFs, meshes and the strangler fig.

  • From monolith to microservices, and the path betweenArticle · 20 min
  • Lab: Event-source a walletcompile Lab · 30 min
  • Practice: split it, or not?Interactive · 9 min
  • Quiz: ArchitectureQuiz · 5 min
07

Resilience Engineering

5 items

Retry storms and metastable failure, timeouts and deadlines, breakers, bulkheads, load shedding, and disaster recovery.

  • Stopping failures from spreadingArticle · 20 min
  • Disaster recovery and multi-regionArticle · 8 min
  • Lab: Circuit breaker and backoff with jittercompile Lab · 35 min
  • Practice: stop the retry stormInteractive · 12 min
  • Quiz: ResilienceQuiz · 7 min
08

Data at Scale

5 items

Stampedes, hot keys and invalidation at scale; isolation levels, anomalies, locking, double booking, B-tree vs LSM.

  • Caching at scaleArticle · 18 min
  • Isolation, locking and double bookingArticle · 10 min
  • Lab: Ticket booking without double bookingcompile Lab · 30 min
  • Practice: anomalies, locks and stampedesInteractive · 10 min
  • Quiz: Data at scaleQuiz · 6 min
09

Geo, Search and Probabilistic Structures

5 items

Geohash/H3/S2, live locations, search pipelines and alias swaps, Bloom filters, HyperLogLog and count-min sketches.

  • Geo-indexing and search pipelinesArticle · 20 min
  • Bloom filters, HyperLogLog and sketchesArticle · 7 min
  • Lab: Nearby riders and a Bloom filtercompile Lab · 35 min
  • Practice: the right structure for the questionInteractive · 9 min
  • Quiz: Geo and probabilistic structuresQuiz · 6 min
10

Security at Scale

4 items

OAuth 2.0 and OIDC flows, token lifetimes and rotation, zero trust and mTLS, secrets and KMS, webhooks, multi-tenancy.

  • OAuth, OIDC, tokens and zero trustArticle · 20 min
  • Lab: Verify webhooks and rotate refresh tokenscompile Lab · 30 min
  • Practice: flows, zero trust and stolen tokensInteractive · 9 min
  • Quiz: Security at scaleQuiz · 6 min
11

Operating at Scale

4 items

User-centric SLIs and SLOs, multi-window burn-rate alerts, tracing, automated canary analysis, safe migrations, incidents.

  • SLOs, burn rates and progressive deliveryArticle · 20 min
  • Lab: SLO burn-rate alerts and canary analysiscompile Lab · 30 min
  • Practice: burn rates and canary verdictsInteractive · 10 min
  • Quiz: Operating at scaleQuiz · 6 min
12

Interview Mastery and Capstone

6 items

The senior playbook, one food-delivery order traced end to end, 15 classic questions, the capstone lab and a mock exam.

  • The senior interview playbookArticle · 8 min
  • Case study: one food-delivery orderArticle · 22 min
  • Fifteen classic questionsArticle · 12 min
  • Capstone lab: The food-delivery order corecompile Lab · 45 min
  • Practice: drive a senior interviewInteractive · 10 min
  • Mock exam: Intermediate to seniorQuiz · 20 min