API latency learning path

Backend engineers preparing for interviews on API latency, measurement, and optimization.

14 questions3 levels7 must‑knowFree, no account

Your progress

L1 · 0 of 2L2 · 0 of 7L3 · 0 of 5

Level 1 · 2 questions. Begin with what gets asked in the first ten minutes. Levels 2 to 4 build on it.

Start with Level 1
Level 1First ten minutesTwo-sentence answers to what gets asked first.2 questions · 2 topics

Interview questions

  1. 1.1Why percentiles and not the average?Must‑know1 min

Phase 3: Verify

  1. 2.1Rerun the same load test against the baseline1 min
Level 2Daily jobWhat you use at work every week.7 questions · 3 topics

Phase 1: Measure first

  1. 1.1Set a baseline (k6, JMeter or Locust; p50, p95, p99 and throughput)Must‑know2 min
  2. 1.2Find the bottleneck with APM tracesMust‑know3 min
  3. 1.3Find slow queries: pg_stat_statements and EXPLAIN (ANALYZE, BUFFERS)Must‑know2 min

Phase 3: Verify

  1. 2.1Dashboards and alerts for regressions1 min

Interview questions

  1. 3.1How do you make sure an application meets its performance requirements?Must‑know1 min
  2. 3.2How do you find and fix an N+1 problem?Must‑know3 min
  3. 3.3OFFSET pagination is slow on page 5,000. Why, and how do you fix it?Must‑know4 min
Level 3SeniorProduction trade-offs and failure modes.5 questions · 2 topics