Skip to content
mentoor

Serving open models at scale

For engineers

Serving open models to many users with vLLM or SGLang: continuous batching, KV cache memory, multi-GPU parallelism and running the endpoint safely

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A team of five wants to run a small GGUF model on a Mac mini for their own use. Which engine fits best?

Choose one answer

Check yourself · 2 of 5

What does --max-model-len 16384 do in a vLLM command?

Choose one answer

Check yourself · 3 of 5

What is the key difference between static and continuous batching?

Choose one answer

Check yourself · 4 of 5

What does the KV cache store?

Choose one answer

Check yourself · 5 of 5

A model fits on 4 GPUs in one node. Traffic doubles. What is the usual next step?

Choose one answer

Topics

  1. Choosing an inference engine to serve4 min read · vLLM, SGLang, TensorRT-LLM and llama-server compared by throughput, model support, hardware and operational effort
  2. Serving a model with vLLM4 min read · The OpenAI-compatible server, max model length, GPU memory share, tensor parallelism and quantized weights
  3. Continuous batching for higher throughput4 min read · How continuous batching fills the GPU, and the trade between total tokens per second and per-user latency
  4. KV cache memory and prefix caching5 min read · PagedAttention, how context length and concurrency use KV memory, and prefix caching for shared system prompts
  5. Scaling across GPUs and replicas5 min read · Tensor, pipeline and expert parallelism inside a node, replicas behind a load balancer, and autoscaling on queue depth
  6. Monitoring and securing a self-hosted endpoint5 min read · API keys and rate limits on the endpoint, metrics for queue time and tokens, GPU health, and rolling out a new model version

Start here

110 questions · last verified 2026-12