
Take the URL-ingestion requirements and write them as pytest checks against a tiny FastAPI service: functional (happy and unhappy paths) and one quality attribute, a p99 latency budget measured, not guessed.
Draw the anchor system as a C4 context/container diagram and a checkout sequence diagram in Mermaid inside VS Code; render with mermaid-cli; then a drift test fails when docker-compose has a service the diagram does not show.
Resolve a real host with dig (+trace), open TLS with openssl s_client (protocol, cipher, chain, expiry), time each phase with curl -w; finish with a pytest that fails when a certificate expires within 14 days.
nginx in front of two app instances; watch round-robin spread, kill one instance mid-traffic, see passive health checks (max_fails/fail_timeout) and retries to the survivor; measure errors during the failover.
A Postgres primary and a streaming replica; write on the primary, read the replica, measure lag in pg_stat_replication, pause replay to create lag on purpose and show a read-your-writes test failing then passing with primary reads.
Real redis-cli and a Python client: cache entry with TTL and hit/miss counted from INFO stats, atomic INCR versus a read-modify-write race, SET NX PX lock with a safe Lua release.
Redpanda (Kafka API): a topic with partitions, a producer, a slow consumer group; read lag with rpk group describe, add a second consumer and watch the rebalance drain lag; per-partition ordering shown.
Cache-aside over Postgres with Redis: hit ratio measured, a stale read after an update, invalidate-on-write fixing it, then a stampede of concurrent misses and a single-flight lock that cuts database queries.
Order row + outbox row in one Postgres transaction, a relay publishing to Redpanda, the relay killed between publish and mark-sent; prove no event is lost and the consumer de-duplicates the replay.
A caller with a timeout and a circuit breaker in front of a dependency behind Toxiproxy; inject latency then errors; watch breaker state, rejected calls and fallback responses in Grafana from Prometheus metrics.
k6 constant-arrival-rate against a service with a known service time; read throughput, mean latency and in-flight requests from the real run and check L = lambda x W; then cap concurrency and watch queueing and the tail grow.
A payments API that stores idempotency keys in Postgres; tests fire 20 identical concurrent requests (one charge), reuse a key with a different body (422), and crash after the charge before the reply (retry returns the stored result).
A naive Redis rate limiter loses a race; the atomic Lua token bucket does not; tests for burst, refill, 429 with Retry-After, and two app instances sharing one limit.
Many callers hit a dependency that Toxiproxy slows down; naive retries multiply load (counted at the dependency), exponential backoff with full jitter and a retry budget bring it back; the numbers come from the run.
A small shortener (Postgres + Redis cache, base62 ids), contract tests, a k6 read-heavy load test, then break it: Redis down (still serves from DB, slower) and a hot link.
Seat holds with expiry using compare-and-set in Postgres; 200 concurrent buyers for 50 seats; prove zero oversell, expired holds return to stock, and show the naive version overselling.
Fan-out on write into Redis timelines vs fan-out on read; measure write cost for a normal user and a celebrity with many followers; the hybrid rule; load-test timeline reads.
A local model (Ollama) asked for JSON that matches a Pydantic schema; measure how often raw output fails validation, add schema-constrained decoding and a one-shot repair loop, and test both.
Router: small local model, then a larger local model, then a cached/degraded answer; Toxiproxy injects timeouts and resets per rung; a test per rung proves which rung answered and that non-retryable errors are not retried.
k6 streams from a local model endpoint and records time-to-first-token, inter-token latency and tokens per second at increasing concurrency; read where the queue starts.
This course contains the use of artificial intelligence.
System design, taught for the people who have to prove the system works. Most system design courses stop at the whiteboard. This one asks the next question every time: how would you test that?
You will learn how modern systems are built, from a single request travelling through DNS, load balancers, caches, queues and databases, to large language model applications, retrieval-augmented generation (RAG), agents and decision APIs. For each design decision you will learn what can go wrong and which test catches it.
What you will learn
Three capstone projects. You design and test three complete systems, each with a workbook to fill in and a model answer to compare against:
How the course is built. Lectures are short and visual: architecture, data-flow, sequence and state diagrams that build step by step as they are explained. Every section ends with a five-question quiz with an explanation for every answer. Selected sections have a role play where you defend a design decision or run an incident review. Downloadable resources include a design review checklist, a patterns cheat sheet, a technology chooser and a capacity estimate worksheet.
Who this is for. QA engineers, test engineers, SDETs and test leads who want to take part in design reviews, find risks before code is written, and test distributed and AI systems with confidence. It also suits developers who want a testing view of system design, and anyone preparing for system design interviews in a quality or platform role.
What you need. Basic testing experience and a general idea of how web applications work. No coding is required to follow the lectures. No cloud account is needed.