David Beazley · Build Your Own Async
Optional, 15 min. Follow the first scheduling example. Point to the line where another job can run while the first job waits.
Optional, 15 min. Follow the first scheduling example. Point to the line where another job can run while the first job waits.
20 min from the inference resource-accounting discussion. Derive a lower bound on the time to read weights once. Say which assumption changes when batch size increases.
Optional, 15 min. Use the logging and profiling examples to identify one observation that distinguishes waiting for a worker from spending CPU time in Python.
20 min. Pause at the iteration-level scheduling example. Draw the batch membership before and after a short request completes.
20 min. Use the talk or its slides to find the goodput objective. Draw the data transferred between pools and mark where it can queue.
Core book sections cover latency targets, inference mechanics, memory, benchmarking, caching and production. Use chapter 6 for a follow-up on a specific modality. Kernel selection, speculative decoding and model training are outside the core lab.
Use the role description to choose constraints for the design mock.
Build a bounded worker pool and practice shutdown.
Use the contents to jump to benchmarking (§4.5), disaggregation (§5.5) and production (ch. 7).
Use section names across editions. In the first edition prioritize selections from chapters 5–9.
Draw three requests of unequal length. Show which batch slots change after each iteration.
Follow the mapping from logical token blocks to physical KV blocks. Explain the final partial block.
Inspect the evaluation SLOs before interpreting goodput. Identify the cost of KV transfer.
Trace the streaming API through the OpenAI-compatible server.
Check installed-version flags, input shape, arrival rate and result fields.
Inspect extended resources, node labels and device plugins.
Choose probes for loading weights, receiving traffic and restarting a stuck process.
Read how desired replicas and stabilization windows interact.
Compare bounded admission, degraded service and client throttling.
Select bucket boundaries around an explicit latency objective.
Trace request routing, disaggregated workers, cache movement and planning.