Interview Q&A · questions with model answers

Performance & Scalability Interview Questions

Part of the study plan for: Site Reliability Engineer (SRE) · Backend Engineer · Frontend Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked What are the most common database-related performance problems?

    N+1 queries, missing or wrong indexes, fetching too many rows or columns, deep OFFSET pagination, long transactions holding locks, too many connections, unbounded queries in hot paths, and running…

  2. What are common concurrency bottlenecks in web applications?

    Exhausted pools (DB connections, threads, HTTP clients), lock contention (database row locks, mutexes), blocking I/O on event loops, synchronous calls to slow dependencies, and global locks in the…

  3. What are Core Web Vitals and how do you improve them?

    Core Web Vitals measure user experience: Largest Contentful Paint (LCP, loading; target ≤ 2.5 s), Interaction to Next Paint (INP, responsiveness; ≤ 200 ms), and Cumulative Layout Shift (CLS, visual…

  4. What is the 'chatty API' problem and how do you fix it?

    A chatty API forces clients to make many small requests to render one screen, multiplying latency (especially on mobile networks). Fix with aggregated endpoints or a BFF, GraphQL, embedding related…

  5. What is load shedding?

    Load shedding deliberately rejects or degrades some requests when a system is overloaded (returning 503 quickly, dropping low-priority traffic) to keep the rest healthy, instead of slowing down for…

  6. What is graceful degradation?

    Graceful degradation keeps core functionality working when parts of the system fail or are overloaded, by disabling non-essential features (recommendations, personalization), serving cached or…

  7. What changes when you scale to multiple regions?

    You gain lower latency for global users and resilience to regional outages, but must handle data replication and consistency across regions, conflict resolution for multi-region writes, global…

  8. What are cold starts and how do you reduce them?

    A cold start is the extra latency when a new serverless function instance or container initializes (runtime start, dependency loading, connections). Reduce it with smaller packages, lazy…

  9. What are common mistakes when benchmarking?

    Benchmarking unrealistic data or workloads, measuring cold caches or JIT warm-up inconsistently, ignoring percentiles, running load generators on the same machine, coordinated omission in latency…

Was this page helpful?

Report a mistake