InterviewStack.io LogoInterviewStack.io

Performance Engineering & Optimization Topics

Backend system optimization, performance tuning, memory management, and engineering proficiency. Covers system-level performance, remote support tools, and infrastructure optimization.

Scalability & Capacity Planning

Analyzing how a system's performance changes as load grows and planning the resources to keep it healthy. Covers horizontal vs vertical scaling, throughput vs latency under load, headroom and saturation, load modeling, and forecasting capacity for expected traffic. Includes identifying the scaling bottleneck that will bind first as demand increases.

2 questions

Memory Management & Garbage Collection

Managing memory as a performance resource, in both managed-runtime and manual-allocation contexts. Covers allocation patterns, garbage-collection behavior and tuning, pauses and fragmentation, and detecting and fixing memory and resource leaks. Emphasizes the effect of memory pressure on throughput, latency, and stability.

1 questions

Performance Profiling & Bottleneck Analysis

Techniques for measuring where time and resources go in a running system and isolating the dominant bottleneck. Covers CPU/memory/allocation profiling, flame graphs, sampling vs instrumentation, hotspot identification, and distinguishing symptom from root cause. Emphasizes forming a measurement-first hypothesis before optimizing rather than guessing.

1 questions

Performance Trade-offs & Optimization Strategy

Deciding what to optimize, how far, and at what cost to other qualities. Covers performance vs readability/reliability/cost trade-offs, prioritizing the optimization with the highest payoff, knowing when a system is fast enough, and sequencing optimization work. Emphasizes optimization as a strategic engineering judgment rather than a reflex.

40 questions

Caching Strategies & In-Memory Optimization

Designing cache layers to cut redundant work and speed up reads, and the correctness costs that come with them. Covers cache placement (client/CDN/application/in-memory store), eviction policies, TTLs, write-through vs write-back, warming, and invalidation. Emphasizes hit-rate reasoning and the staleness/consistency trade-offs caching introduces.

2 questions

Performance Troubleshooting & Incident Response

Diagnosing and resolving performance problems in production, often under time pressure. Covers latency and slowdown investigation, reproducing and narrowing performance regressions, operational readiness for performance incidents, and restoring healthy behavior while preserving reliability. Emphasizes systematic debugging of live systems over offline experimentation.

1 questions

Performance Cost Optimization & Resource Efficiency

Optimizing for the money and resources a given level of performance consumes, not just raw speed. Covers cost-per-request reasoning, right-sizing compute and memory, efficiency of resource utilization, and trading performance against spend. Emphasizes treating cost and resource efficiency as first-class performance objectives.

55 questions

Latency Analysis & Optimization

Understanding and reducing response time across the request path, including tail latency, latency budgets, and critical-path analysis. Covers where latency accumulates (compute, I/O, serialization, network hops, queuing), percentile-based reasoning (p50/p95/p99), and targeted techniques to shave the dominant contributors. Focuses on end-to-end latency as an engineered property rather than an incidental one.

37 questions

Algorithmic Complexity & Code-Level Optimization

Reasoning about the time and space complexity of code and applying local optimizations that materially change performance. Covers Big-O analysis and performance modeling, data-structure selection, hot-loop and allocation reduction, and knowing when an algorithmic change beats micro-optimization. Emphasizes performance-aware coding grounded in complexity rather than premature tuning.

36 questions
Page 1/2