Interview Q&A / System Design

INTERVIEW Q&A · 70 QUESTIONS

System Design interview questions

Caching, scaling, databases and classic design problems for beginners.

  1. Why do engineers track p95 and p99 latency instead of the average?

    Averages hide slow outliers. p99 means 99% of requests were faster than this value, so it shows what your unluckiest users feel, which is what drives complaints and timeouts.

    BeginnerQuick answer1 min read
  2. Why does my useEffect run twice in development?

    In Strict Mode, React 18 and later deliberately mounts, unmounts and remounts each component once in development to check that effects clean up properly. It does not happen in production.

    BeginnerQuick answer1 min read