Performance and scaling interview questions

Load balancing, tail latency, Little's law, profiling, scaling up and out, read replicas, batching, compression, autoscaling, load testing, hot spots and memory.

5 quick facts

– interview-ready · 12 questions in this topic

– of 12 tried

Saved on this device. Interview-ready means you got it right on two different days. Guesses and hints count for less.

Questions

  1. Load balancing strategiesPredict
  2. Why percentiles, not averagesPredict
  3. Capacity with Little's lawPredict
  4. Finding where time goesOrder the steps
  5. Scaling up vs scaling outPick the fix
  6. Scaling reads with replicasPick the fix
  7. Batching database writesPick the fix
  8. Compressing API responsesPredict
  1. Autoscaling servicesPick the fix
  2. Load testing a backendOrder the steps
  3. Hot keys and hot partitionsPredict
  4. Memory growth in Python servicesSpot the bug

Practise this topic

Flashcards · 17

Flip, then say if you knew it. Needs JavaScript; every answer is also on its question page.

Quick quiz · 12 questions

One exercise per question, checked as you go. Needs JavaScript.

Mock interview · 2 sets

Timed, out loud, then tick what you covered. Needs JavaScript.

Fix this PR · 1 review

Review a diff like a senior: flag the lines you'd comment on. Needs JavaScript.

Quick facts

Recall the answer first, then tap Show to check.

Sources: Topic outline informed by System Design Primer by Donne Martin and the Zalando RESTful API Guidelines, both licensed under CC BY 4.0. Every question and answer is written by Best Latest Apps. Credits and license