Middle and senior: how answers differ
Middle and senior candidates get the same prompt and the same 45 minutes. The difference is not in the prompt but in what the interviewer expects to hear.
Picture two car mechanics. The first finds the broken part and replaces it — the car runs again. The second also replaces the part but explains why it broke, what will fail next and how much that will cost. Both did the job, but the hard cases go to the second one.
The comparison is off in one way: a mechanic fixes a car that already exists, while in an interview you design a system that does not. So a senior is expected to see a breakdown before it happens.
What is expected from a middle
A middle is expected to give a working design that meets the requirements:
- questions about the features and the load, with the answers written down;
- load estimates without gross errors;
- a clear API and data model;
- a diagram where every block has a reason;
- sensible answers when the interviewer asks about failure or growth.
A middle may go deeper when the interviewer prompts. If they asked "what happens if the database fails?", a good answer is credited in full.
What is expected from a senior
A senior is expected to do the same and more:
- they lead the talk and propose which part of the diagram to explore deeper;
- they compare two or three options and name the price of each;
- they work through failures without a prompt: a node that went down, a message delivered twice, a lagging replica;
- they think about growth: what breaks first at 10 times the load;
- they remember operations: how to notice a problem, how to roll out a change, how to move the data.
A senior does not draw more blocks. They ask more questions about the ones already drawn.
One design, two answers
Build the diagram we will compare the two answers on. All the blocks are already on the canvas; what is left is to draw the links.
A user shares a note, and the recipient gets an email. There are 20 such shares a second, the email may arrive a minute later, and the answer to "Share" is needed within 200 ms even when the mail service is slow. All the blocks are in place. Draw the links.
A middle describes this diagram like this: "The service records that the note was shared, puts a job in the queue and answers. The worker takes the jobs and sends the emails. If the mail service is slow, the answer to the user does not suffer." That is a good answer, and it is credited.
A senior says the same and adds:
- "The queue delivers a job at least once, so an email may go out twice. The worker remembers the job's key and does not send it a second time."
- "If the mail service is down for an hour, 20 × 3,600 = 72,000 jobs pile up in the queue. That is not much, but the worker must retry with a growing pause rather than flood the failed service with requests."
- "How many jobs wait in the queue and how many sends failed are the metrics to alert on."
- "The email could be sent straight from the service: simpler, but then the answer depends on the mail service. Here that goes against the 200 ms requirement."
Note that the senior has the same number of blocks. The whole difference is in the questions about the diagram already drawn.
Common mistake
Playing senior by adding blocks. A candidate draws sharding, three regions and a separate queue cluster for 20 emails a second to look more experienced. The interviewer sees the opposite: the solution does not rest on the numbers. Level shows in the reasoning about what is drawn, not in the size of the diagram.
Key points
- A middle shows a working design that meets the requirements and answers the interviewer's questions well.
- A senior leads the talk: compares options, works through failures and growth, remembers operations.
- Level shows in the reasoning about the diagram, not in the number of blocks on it.