notexOPENOverview
Notex/Systems/Tips
02.06LESSON 06 OF 6 · 1 MIN READ

Tips

Always free to read
SECTION VIDEOTips

Video coming soon. Start with the reading below.

COMING SOON

Back-of-the-envelope estimation is all about the process. Solving the problem is more important than obtaining results. Interviewers may test your problem-solving skills. Here are a few tips to follow:

  • Rounding and Approximation. It is difficult to perform complicated math operations during the interview. For example, what is the result of “99987 / 9.1”? There is no need to spend valuable time to solve complicated math problems. Precision is not expected. Use round numbers and approximation to your advantage. The division question can be simplified as follows: “100,000 / 10”.
  • Write down your assumptions. It is a good idea to write down your assumptions to be referenced later.
  • Label your units. When you write down “5”, does it mean 5 KB or 5 MB? You might confuse yourself with this. Write down the units because “5 MB” helps to remove ambiguity.
  • Commonly asked back-of-the-envelope estimations: QPS, peak QPS, storage, cache, number of servers, etc. You can practice these calculations when preparing for an interview. Practice makes perfect.

Congratulations on getting this far! Now give yourself a pat on the back. Good job!

References

  1. J. Dean.Google Pro Tip: Use Back-Of-The-Envelope-Calculations To Choose The Best Design: http://highscalability.com/blog/2011/1/26/google-pro-tip-use-back-of-the-envelopecalculations-to-choo.html
  2. System design primer: https://github.com/donnemartin/system-design-primer
  3. Latency Numbers Every Programmer Should Know: https://colin-scott.github.io/personal_website/research/interactive_latency.html
  4. Amazon Compute Service Level Agreement: https://aws.amazon.com/compute/sla/
  5. Compute Engine Service Level Agreement (SLA): https://cloud.google.com/compute/sla
  6. SLA summary for Azure services: https://azure.microsoft.com/enus/support/legal/sla/summary/
Progress is saved on this device.
KEEP EXPLORING

One note leads to another.

Back to the library →
⌕
Search across the entire library ⌘ K