Dos and Don'ts

What this lesson covers

This lesson lists common mistakes candidates make in system design interviews. The first is opening with a set introduction that draws users, a load balancer and a session service by habit, which can use up around five minutes without addressing the problem. The second is jumping into capacity estimation, such as daily active users and upload volumes, without a reason. If there is a concern, it should be raised with the interviewer and worked through together. The third, seen often among senior engineers, is drawing boxes without knowing how they communicate. Candidates should know which network protocols they would use, such as gRPC internally, HTTP externally or RTMP for live video, and what each one gives them. The fourth is a lack of knowledge of internals. Naming a database such as Cassandra without understanding how it works is a red flag, because the interview measures the ability to generalise from known systems, not to build a working product in 45 minutes. The fifth is ignoring trade-offs. In a payment example, sending email notifications through a message queue decouples payments from email delivery, but brings questions about queue cost, bulk sending, and whether to build in-house, pay for an external API or run an open source tool. A bonus point ties these together: stay close to the core of the problem and expand outwards.

  • Skip a rehearsed introduction and focus on the core of the system.
  • Do capacity estimation only when there is a reason, and discuss it with the interviewer first.
  • Know which network protocols connect your components and what each one offers.
  • Understand the internals of systems you name, such as Cassandra, rather than only what they are used for.
  • Discuss trade-offs, such as the costs and options that come with adding a message queue for emails.