Interview Arena
The earlier modules taught the parts. The case studies put them together, one system at a time, with the answer in view. This module is the other half: designing a system you have just been handed, on a clock, with the answer hidden until you have written yours. It teaches how an interview runs, then lets you run one.
You will learn a fixed order for a design conversation, how to say your estimates out loud, how to draw a design and have it checked, how to answer “what if it fails”, and how to defend a choice. Then you practise in the Arena, and its summary tells you which lessons to go back to.
The ten steps
Section titled “The ten steps”Every lesson in this module hangs on one sequence. Say it until it is automatic.
- Clarify.
- Requirements.
- Estimate.
- Simple architecture.
- Find the bottleneck.
- Scale.
- Handle failures.
- Choose consistency.
- Discuss trade-offs.
- Defend the design.
The first lesson explains each step and how the Arena spreads them over eight stages.
How the Arena works
Section titled “How the Arena works”An Arena scenario is a scripted interview, with no AI and no server: everything runs in your browser. It opens with a brief (the problem, the numbers and the constraints), and you choose practice or strict mode and a length of 30, 45 or 60 minutes. Then you go through eight stages: requirements, estimation, architecture, scaling, consistency, reliability, failure scenarios and trade-offs. In each stage you write an answer first, optionally with numbers and a few structured choices such as which database. Only after you submit do you see a strong answer, a rubric to score yourself against and the common mistakes. Up to two follow-ups then come, and which ones you meet depends on the choices you made. The architecture stage includes the Architecture Builder, so you can sketch a design and see where it breaks. At the end the summary gives your score and your time for each stage, the weak stages, and the lessons that cover them.
Free text is never scored for you. You score yourself, and the first lesson explains how to do it honestly. Everything stays in your browser, and a session you leave unfinished can be resumed from the same browser.
The lessons
Section titled “The lessons”- How an interview runs. What an interview asks for, the ten steps, how 45 minutes are spent, practice against strict mode, and scoring yourself honestly.
- Estimating out loud. Rounding to powers of ten, stating your assumptions, and going from daily users to requests per second, peak, storage and bandwidth.
- Drawing and checking. Drawing the simplest architecture in the Architecture Builder, finding the bottleneck, and the rules that check a design.
- Failure scenarios. “What happens if the cache fails”, “what happens at 10 times the traffic”, and a region lost: naming the failure, the arithmetic, the defence and its cost.
- Senior follow-ups. Defending a choice with the trade-off framework, handling the consistency question, and saying “it depends” well.
- Recap and quiz. The ten steps against the eight stages, a checklist for a 45-minute interview, and a quiz.
Practise
Section titled “Practise”Start with the Arena, which lists every scenario. Each scenario reuses the design of the case study with the same name, so read that case study first if you want to see the answer, and leave it unread if you want a fair attempt.
- Design a URL shortener: read-heavy traffic, key generation, caching and replicas.
- Design a chat service: connections, one order per conversation, and offline delivery.
- Design a notification system: fan-out, retries, duplicates and provider limits.
- Design a social feed: fan-out on write against fan-out on read, and the celebrity account.
- Design a global messaging system: delivery across regions, ordering and regional failure.
What you will be able to do
Section titled “What you will be able to do”- Run a design conversation in a fixed order, and say which step you are in.
- Turn a vague brief into requirements and a back-of-the-envelope estimate, aloud, with the assumptions named.
- Draw a first architecture, find its bottleneck with a number, and say which single change fixes it.
- Answer “what if it fails” with the failure, the arithmetic, the defence and the cost.
- Defend a choice by its trade-off, and change the design when a new fact arrives.
- Score your own answer against a rubric, and use the summary to decide what to study next.
All the numbers in the scenarios and in the Architecture Builder are illustrative. They are chosen to make each limit visible and to compare designs, not to forecast any real product or to benchmark any real database, cache or server.
Built by GhaziAlibi.
© ShardCraft. All rights reserved.