Interview Q&A / System Design

INTERVIEW Q&A · 70 QUESTIONS

System Design interview questions

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

  1. What is caching and what caching strategies should you know?

    A cache keeps a copy of frequently used data in faster storage, like memory, so repeated reads are quick. Know cache-aside, write-through and write-back, eviction policies like LRU, TTLs, and the hard part, keeping the cache consistent with the database.

    BeginnerIn-depth3 min read
  2. What is the difference between latency and throughput?

    Latency is how long one request takes; throughput is how many requests the system finishes per unit of time. You can improve one without the other, and pushing throughput too hard often raises latency.

    BeginnerQuick answer1 min read