AI Infra Interviews logo
← LLM Inference & Serving / 13
medium★ EssentialAnthropic

You have one GPU and a synchronous API that receives 100 documents at once. Design the batching, and show the latency math.

Preserve document identity through packed prompts and completion reordering. Derive rounded cache reservations, then measure feasible wave sizes against the API contract.

Updated Oct 2026 · Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.

Preserve document identity through packed prompts and completion reordering. Derive rounded cache reservations, then measure feasible wave sizes against the API contract.

This answer is included with a free account. Sign in to read it and save your progress.

free account · no card needed

Work through the numbers

Change the assumptions in a free calculator, then explain what the result establishes and what still needs measurement.

UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Keep sequence boundaries and original request IDs through packing and sorting. Better device utilization is useful only if each result reaches the right caller.

DISCUSSION · 0

No comments yet — be the first to share your approach.