L3 Advanced · Module 10: Serving engine internals

10.4Prefix caching and RadixAttention

Schedulers, batching and prefix caching inside vLLM and SGLang.

✦ Interactive

Sources for this module

course · TTFTtime-to-first-tokenpatchy631Weeks 2 and 4blog · MOHITHLLM Inference at ScaleMohithServing-level optimizations
book · FREGLYAI Systems Performance EngineeringChris FreglyDynamic scheduling chapter

Finished chapters so far: all of Level 1 (Modules 0–3), Module 4: CUDA fundamentals, Module 5: parallel patterns, Module 6: GEMM and memory optimization, Module 7: profiling and 9.1 How big is the KV cache?