NARRATED · CAPTIONED · PRECISE ENGINEER
Narrated visual briefing
Build the serving MVP
Two planes
The smallest credible serving system has two planes. The data plane takes a request through authentication, admission control, routing, a model runtime, and a GPU, then streams tokens back. The control plane packages models, records versions, applies scaling policy, finds capacity, promotes releases, and rolls them back. Mixing the two in your mental model produces fragile systems. The data plane is optimized for predictable latency. The control plane is optimized for safe change and recoverability.
Six-week build
Build in six vertical weeks. First, run one model and freeze a replayable request corpus. Second, add an OpenAI-compatible gateway with keys, request identifiers, timeouts, streaming, and structured errors. Third, measure queue time, time to first token, inter-token latency, token counts, cache behavior, and model version. Fourth, add bounded concurrency and your differentiating router or batcher. Fifth, add a versioned deployment and one-command rollback. Sixth, replay a design partner's traffic and operate the trial live.
Overload control
Protect the service before you scale it. Baseten's autoscaling documentation makes the cost-latency tradeoff explicit: more concurrency packs hardware efficiently but increases queueing, while less concurrency costs more and reduces queueing. New replicas also need time to acquire weights and become healthy. So admission control is not an advanced feature. It is the first reliability boundary. When warm capacity is exhausted, decide whether to queue, route, degrade, or reject before an overload cascade destroys every request.
Request trace
Use one coding-agent request as the architecture test. The gateway authenticates the tenant, validates the context limit, attaches a request identifier, and records a deadline class. Admission control checks warm capacity. The router sees that one replica already holds the repository prefix and that its queue still fits the deadline, so it preserves cache locality. The runtime performs prefill only for the new suffix, begins streaming, and exports time to first token, inter-token latency, cache-hit estimate, token counts, replica, and model version. Meanwhile, the control plane knows exactly which immutable deployment served the request and can roll it back. If you cannot draw and measure this trace, adding another region or scheduler will not create a product. If the trace proves that cache-aware routing cuts goodput failures on partner traffic, you have the first workload-specific loop. The next feature should improve or protect that loop, not broaden the platform for an imaginary user.
Where the moat begins
Rent or reuse everything except the loop that creates your advantage. vLLM and Dynamo already provide serious serving primitives. Your durable seed is a workload signal others ignore and a decision that improves the outcome: prefix reuse controls routing, deadlines control admission, adapter popularity controls preloading, or residency controls placement. The endpoint can be copied. A loop trained on real workload behavior, integrated into a customer's release process, and proven against their service objective becomes difficult to replace.
WORKING MODEL
Four ideas to carry
Data plane
Gateway, queue, router, runtime, cache, GPU, streaming response. Optimize the request path.
Control plane
Model registry, builds, deployment versions, autoscaling policy, rollout, rollback, capacity, secrets. Optimize safe change.
Admission before autoscaling
Scaling cannot rescue a queue that has already violated the SLO. Reject, degrade, or route before overload cascades.
One workload, one engine
Start with one model family and one GPU shape. Breadth hides whether your core claim is true.
REFERENCE
The minimum production-shaped architecture
Separate the data plane from the control plane. The data plane owns hot-path latency and streaming. The control plane owns change, placement, safety, and recovery. A Baseten-scale product implements both deeply.E5–E6
Week-by-week build
- Week 1 — replayable baseline. Run one open model with vLLM on one GPU. Capture a fixed request corpus and reference outputs.
- Week 2 — compatibility edge. Put an OpenAI-compatible gateway in front. Add API keys, request IDs, timeouts, streaming, and structured errors.
- Week 3 — measurement edge. Record queue time, time to first token, inter-token latency, total latency, tokens, cache result, model version, and GPU assignment.
- Week 4 — control loop. Add bounded concurrency, load shedding, and the one routing or batching policy your wedge requires.
- Week 5 — safe change. Package the model, pin the environment, add a health probe, versioned deployment, smoke test, and one-command rollback.
- Week 6 — customer replay. Re-run a design partner's trace, publish the result, and operate the system during a live trial.
What not to build yet
Do not begin with a GPU marketplace, arbitrary containers, ten regions, a custom scheduler, or a beautiful dashboard. vLLM Production Stack and NVIDIA Dynamo already expose advanced routing and distributed serving primitives.E8–E9 Use them until your evidence shows exactly where they fail your workload.
The wedge must live in a control loop
A durable product observes something competitors ignore, makes a better decision, and improves from the result. Examples: prefix reuse predicts routing; deadline class controls admission; adapter popularity controls preloading; data residency controls placement. The loop—not the endpoint—is the seed of your moat.
SHIP EVIDENCE
Run the local gateway and benchmark
Start the provided OpenAI-compatible mock gateway, send a small load test, inspect time-to-first-token and queue metrics, then replace the mock backend with your vLLM endpoint.
Course artifact: labs/README.md
DIAGNOSTIC CHECKS
Can you use the model?
CHECK 1 · recall
Which component belongs primarily to the control plane?
CHECK 2 · application
Traffic suddenly exceeds warm capacity. What is the first protective action?
CHECK 3 · transfer
What should you custom-build first?
EVIDENCE LEDGER
Sources and limits
Vendor performance and product claims are labeled as first-party. Prices and product surfaces can change; follow the live links before making a purchasing or fundraising decision.
- ev-baseten-control-plane How Baseten works · Baseten
Baseten documents a control plane spanning model packaging, build pipelines, multi-cloud capacity management, request routing, weight delivery and caching, deployment environments, promotion, rollback, and an OpenAI-compatible API for engine-based deployments. - ev-baseten-scaling Autoscaling · Baseten
Baseten documents scale-to-zero, min and max replicas, concurrency targets, utilization thresholds, autoscaling windows, and scale-down delays. It explicitly frames higher concurrency as lower cost with more queueing, and lower concurrency as higher cost with less queueing. - ev-vllm-stack vLLM Production Stack · vLLM project
The open vLLM Production Stack includes Kubernetes deployment, request routing, KV-cache offload and awareness, monitoring, autoscaling with KEDA, disaggregated prefill, tracing, and cloud deployment examples. - ev-dynamo-disagg Disaggregated serving · NVIDIA Dynamo
NVIDIA Dynamo separates prefill and decode into independently scalable pools. Prefill pressure follows input length and context; decode pressure follows concurrency, output length, and KV-memory demand. The architecture helps when those phases need different resource shapes.