Loading course…
Loading course…
From CAP and scaling to microservices, distributed transactions and fault tolerance, plus classic designs like TinyURL and WhatsApp.
Based on the Concept && Coding playlist · lessons written for this course
🎯 Practice
Mixed rounds, plus fresh AI questions on your weak spots
🎤 Mock interview
An AI interviewer with follow-ups, then a scorecard
🧐 Design review
Paste a design or code; get a senior engineer's review
What low-level and high-level design cover, and the order to learn them in.
TCP vs UDP, HTTP/1.1 to HTTP/3, WebSockets, gRPC and WebRTC: which protocol fits which job.
Consistency, availability and partition tolerance: what you can and can't have together.
Decomposing a system into services, and the patterns that hold them together.
Long-running transactions across services with compensating steps, orchestrated or choreographed.
How a single-server app grows: load balancers, replicas, caches, CDNs, sharding and queues.
Placing keys on a ring so adding or removing servers moves as little data as possible.
Short codes, base62, key generation, redirects, caching and analytics for a TinyURL-style service.
Quick capacity math: QPS, storage, bandwidth and memory from a handful of assumptions.
Partitioning, replication, quorums, versioning and failure handling in a distributed KV store.
Relational vs document, key-value, wide-column and graph stores, and how to choose.
One-to-one and group messaging, delivery receipts, presence, offline delivery and media.
Algorithms, where the limiter lives, distributed counters and the response a client sees.
Idempotency keys, safe retries and exactly-once effects for create and payment endpoints.
Redundancy, failover, health checks, multi-AZ and multi-region designs, and measuring uptime.
Producers, brokers, partitions, consumer groups, ordering and delivery guarantees.
Forward proxies, reverse proxies and what each is used for.
L4 vs L7 balancing, round robin, least connections, hashing and health checks.
Cache-aside, read/write-through, write-back, eviction and keeping a distributed cache consistent.
Two-phase commit, three-phase commit and SAGA: keeping data consistent across services.
How B+ trees and other indexes speed up queries, composite and covering indexes, and what they cost.
Optimistic vs pessimistic locking, isolation levels and distributed locking.
Basic, strict and rigorous 2PL, deadlocks and how databases avoid them.
Delegated authorization: roles, grant types, tokens and the authorization code flow with PKCE.
AES, RSA, Diffie-Hellman key exchange and digital signatures, and how TLS combines them.
Structure, signing, validation, expiry and revocation of JSON Web Tokens.
When many clients hit the same thing at once: cache stampedes, ticket drops and the fixes.
What a gateway does: routing, auth, rate limits, aggregation, and how it differs from a load balancer.
Sidecar proxies, the control plane, mTLS, retries and observability between services.
Resolvers, root, TLD and authoritative servers, record types, caching and TTLs.
Deciding service boundaries when splitting a monolith, and the cost of splitting too far.
How each attack works and the defenses that stop it.
Why writing to a database and a queue separately breaks, and the outbox and CDC fixes.
Client-side vs server-side discovery, registries, health checks and DNS-based discovery.
Using rate limits and load shedding to protect services from overload and cascading failure.
Isolating resources so one failing dependency can't sink the whole service.
When and how to retry: backoff, jitter, budgets and idempotency.
Closed, open and half-open states, and failing fast when a dependency is down.