Code RoomDeadline not propagated upstream
HardPrep Room Coding #2464

Deadline not propagated upstream

On-callNetworking & APIsDistributed systemsSenior–Staff~45 min

A user request flows through gateway → service-A → service-B → service-C (all gRPC). At 21:00, service-C develops a latency tail (p99.9 ~4s). Soon the whole chain is melting down: the gateway times out, but downstream you observe service-B and service-C still busily processing requests whose callers have already given up. Dashboards: huge 'context deadline exceeded' counts; service-B/C CPU is high doing 'wasted' work; goroutine/thread counts climbing across the chain. Recent context: timeouts are configured per-hop as fixed values (each hop has its own 5s timeout) with no deadline propagation. How do you triage and mitigate?

What a strong answer looks like

Stop the bleeding first (mitigate), then form hypotheses from real signals. Separate root cause from symptom, communicate status as you go, and close with what prevents a repeat.

0:00 of about 45 min
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.