Architecture
System design is the round where seniority is actually assessed. The coding round proves you can write code; this one proves you can make decisions with incomplete information, under cost and time constraints, and explain them to other people.
The pages here are split into two halves. The first half is how to run the conversation. The second is the building blocks: the components you will reach for and the trade-offs each one forces.
Running the interview
Section titled “Running the interview”- System Design Interviews — the framework, time budget, how to communicate, and the scoring rubric.
- Scalability — vertical vs horizontal, stateless services, finding the bottleneck, and back-of-the-envelope estimation.
Building blocks
Section titled “Building blocks”- Databases — relational vs NoSQL, indexing, replication, sharding, ACID vs BASE.
- CAP and Consistency — what CAP really says, PACELC, consistency models and quorums.
- Message Queues — Kafka vs RabbitMQ vs SQS, delivery semantics, ordering, consumer groups, transactional outbox.
- Event Sourcing and CQRS — the event log as source of truth, projections, snapshots and replay.
- Idempotency — retries, idempotency keys, deduplication and why exactly-once delivery is a myth.
- Rate Limiting — token bucket, sliding windows and distributed limiting with Redis.
- Latency Numbers — orders of magnitude, tail latency, Little’s Law and the order in which to optimise.
- Observability — logs, metrics, traces, SLIs and SLOs, error budgets and alerting.
- Microservices vs Monolith — boundaries, sagas, service discovery and the operational bill.
Case studies
Section titled “Case studies”- Case Study: URL Shortener — ID generation, caching, redirects and analytics.
- Case Study: News Feed — fan-out on write vs read, ranking, and the celebrity problem.
- Case Study: Chat — WebSockets, presence, ordering and delivery guarantees.
How to study this track
Section titled “How to study this track”Do not read the case studies first. They are outputs of a process; the process is the skill. Work through the framework, then the building blocks, then attempt each case study on a whiteboard before reading the page.
What “senior” sounds like
Section titled “What “senior” sounds like”| Junior | Senior |
|---|---|
| Names technologies | Explains why this one, and what it costs |
| Designs for the happy path | Names the failure mode and the recovery |
| Ignores numbers | Estimates QPS, storage, bandwidth, and checks the design fits |
| One consistent design | States where it is strongly consistent and where it is not |
| No operational story | Mentions deploys, monitoring, schema migration, cost |
None of that requires knowing more products. It requires stating assumptions and following them through.