179 questions
No questions match those filters.
← All questions
Inference & ServingMedium· Latency· Scheduling· Batching
A user reports high tail latency at peak traffic. Walk...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansAt scale, high tail latency is most commonly caused by the scheduler packing more requests per step to maintain throughput as QPS rises, which increases per-step latency and forces tail requests to wait. Confirm this behavior by analyzing the step-time histogram. To fix it, prioritize adding replicas to spread the load and reduce the effective batch size per replica, implement preemption to cap the maximum batch size, or use priority queues to ensure latency-sensitive requests are processed in smaller batches.