BTI Beyond The Interviews

DevOps & Cloud · 10 sections

Production Debugging & Incident Response

The 'production is on fire' round: triage, latency spikes, retry storms, OOM, DB hotspots, postmortems.

Premium · preview 54 cards Updated 24 Oct 2026
Free to preview. The first 3 cards and the full outline are below — the rest of this sheet is part of the Cloud, DevOps & CS Fundamentals bundle.

What's inside

Preview — first 3 of 54 cards

Checkout latency p99 jumped from 300 ms to 4 s. First 5 minutes?

Check impact and scope (all users or a region/endpoint?). Ask what changed (deploys, config, flags, traffic, dependencies). Look at the RED dashboards (rate, errors, duration) per dependency. Mitigate first (rollback/flag off/shift traffic), root-cause later. Communicate on the incident channel.

RED per dependency:
  Rate     -> requests/sec
  Errors   -> 5xx, timeouts, resets
  Duration -> p50 / p95 / p99

Order of action:
  scope -> what changed -> dashboards/traces -> mitigate -> root cause

p50 is fine but p99 is terrible. Likely causes?

GC pauses, lock contention, a slow shard or noisy neighbour, cold cache misses, retry storms, one bad dependency replica, large payload outliers. Check per-host and per-shard breakdowns and traces of slow requests.

# split the tail, don't average it away
p99 by host
p99 by shard / partition
p99 by dependency replica
p99 by payload size bucket
trace the slowest 100 requests

What is a retry storm, and how do you prevent it?

A dependency slows down, every client retries, and load multiplies until it collapses. Fixes: exponential backoff + jitter, retry budgets (e.g. ≤10% extra), circuit breakers, retry only at one layer, deadlines propagated downstream.

backoff = min(cap, base * 2^attempt) +/- jitter   # never retry in lockstep
retry_budget: retries <= 10% of successful calls
circuit breaker: open on consecutive failures
retry at ONE layer only + propagate deadline (timeout budget)

51 more cards in this sheet

Unlock the Cloud, DevOps & CS Fundamentals bundle — ₹399

One-time payment. Unlocks this sheet and 8 other sheets in the bundle, plus a typeset PDF of each.

Unlock the bundle See all bundles

Or get all 76 sheets for ₹999 — one payment, every future sheet included.