P99 TTFT spikes every Tuesday at 9am, order the triage steps
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Triage cheapest signal first: queue depth and prompt-length distribution explain 80% of weekly-pattern TTFT spikes.
Picture a coffee shop that gets slammed every Tuesday at 9am. Before you tear apart the espresso machine, do the cheap checks. First, is the line at the door longer on Tuesdays? Second, is everyone suddenly ordering a 12-shot custom drink instead of a regular latte? Those two questions answer most cases. After that you can ask whether the barista was scheduled to arrive before or after the rush hit, whether someone else is using the same shared shelf for their stuff, or whether the front door's intercom is glitching. The order matters because some checks take a glance at a dashboard and others require pulling a barista off the line.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: the cheapest signal first principle + queue depth as the first check + input-length distribution as the second + autoscaler ramp diagnosis + when to escalate to noisy-neighbor and network checks.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Jumping to the model itself or to GPU-level traces before checking queue depth and prompt-length distribution. Recurring time of week spikes are almost always a traffic-shape or autoscaler problem, not a model problem.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.