Skip to content
Back to skills

Inference Serving Topology

ASecurity

LLM/model inference serving architecture: the engine → serving → orchestration layering (vLLM/SGLang/TensorRT-LLM, Triton, KServe/Ray Serve), KV-cache & continuous batching, prefill-decode disaggregation, and scaling. Architect-level topology, not model training. USE WHEN: designing model/LLM serving infra, "vLLM", "SGLang", "TensorRT-LLM", "Triton", "KServe", "Ray Serve", "continuous batching", "KV cache", "prefill decode", "TTFT", multi-GPU/multi-model serving, inference autoscaling. DO N...

  • 31 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 8, 2026
ai-agentsgoshellnodekubernetesapi

Works with

  • api

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add claude-dev-suite/claude-dev-suite --skill inference-serving-topology --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Inference Serving Topology?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Inference Serving Topology
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/claude-dev-suite-inference-serving-topology/badge)](https://www.skillsdirectory.com/skills/claude-dev-suite-inference-serving-topology)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: inference-serving-topology
description: |
  LLM/model inference serving architecture: the engine → serving → orchestration
  layering (vLLM/SGLang/TensorRT-LLM, Triton, KServe/Ray Serve), KV-cache &
  continuous batching, prefill-decode disaggregation, and scaling. Architect-level
  topology, not model training.

  USE WHEN: designing model/LLM serving infra, "vLLM", "SGLang", "TensorRT-LLM",
  "Triton", "KServe", "Ray Serve", "continuous batching", "KV cache", "prefill
  decode", "TTFT", multi-GPU/multi-model serving, inference autoscaling.

  DO NOT USE FOR: on-device (use `edge-inference`); provider routing (use
  `model-gateway-routing`); RAG app logic (use rag/rag-frameworks skills).
allowed-tools: Read, Grep, Glob
---
# Inference Serving Topology

## The three layers (name which you're designing)
1. **Engine** — executes the model on accelerators: **vLLM**, **SGLang**,
   **TensorRT-LLM**. Owns paged **KV-cache**, **continuous (in-flight) batching**,
   quantization. This is where throughput/latency is won.
2. **Serving** — request routing, batching policy, API contract, metrics, rate
   limiting: **Triton** (production shell around an engine), **KServe**,
   **LiteLLM/Envoy AI Gateway**.
3. **Orchestration** — scaling, health, placement: **Kubernetes + KEDA**,
   **Ray Serve**, llm-d, GKE Inference Gateway.

A common 2026 pairing: **vLLM as the token engine + Triton as the production
shell**; **Ray Serve** when you need multi-GPU/multi-node distributed strategies.

## Levers that decide the topology
- **KV-cache** is the memory bottleneck for LLMs → paged KV (vLLM), cache reuse,
  quantized KV. Drives max batch / context.
- **Continuous batching** (vs static) is mandatory for throughput.
- **Prefill–decode disaggregation**: split the compute-bound prefill from the
  memory-bound decode onto different pools → better utilization at scale.
- **Parallelism**: tensor / pipeline / expert (MoE) / data-parallel attention —
  chosen by model size vs GPU memory.
- **Targets**: state TTFT (time-to-first-token, low hundreds of ms) and
  inter-token latency (tens of ms) goals — they drive batching/parallelism.

## Scale ladder
Single GPU + vLLM → multi-GPU one node → Ray Serve/KServe multi-node + KEDA
autoscaling → disaggregated prefill/decode + multi-region. Don't jump tiers
without a load/latency reason.

## When to recommend what
- One model, moderate load → single-node vLLM (+ Triton for ops).
- Many models / platform team → Triton + KServe on k8s.
- Large model / high concurrency / SLO-driven → Ray Serve, disaggregation,
  tensor/expert parallelism.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.