Inference Founder // Field Course
0% completeCourse brief

Lesson 05 / 07 · II · Build

Operate production inference

Design overload, rollout, capacity, and incident behavior before enterprise traffic arrives.

Founder decision
Reliability is a product surface, not post-launch infrastructure work.
Target time
6 min briefing + 60–120 min fieldwork
Evidence
4 primary / first-party records
Before the answer: If one GPU dies during a burst, list the exact order in which the system should protect customers.

NARRATED · CAPTIONED · PRECISE ENGINEER

Narrated visual briefing

Operate production inference

01 · Service contractReliability begins as product language
02 · Four loopsRelease, capacity, request, incident
03 · Capacity classesWarm, burst, and batch are different products
04 · Incident walkthroughA GPU disappears at peak traffic
05 · Game dayPractice the failure before the pilot
Service contract

Production inference begins with a service contract, not an autoscaler. For one workload, define tail time to first token, inter-token latency, availability, maximum queue time, quality floor, data residency, retention, and recovery objectives. Then write overload behavior: which requests may wait, which can degrade, which route elsewhere, and which fail fast. Every control-plane policy should trace back to this contract. If the promise is vague, the system can be green while the customer experience is broken.

Four loops

Operate four explicit loops. The release loop builds, evaluates, shadows, promotes, observes, and rolls back. The capacity loop forecasts, reserves, warms, bursts, sheds, and reconciles. The request loop admits, routes, executes, streams, and measures. The incident loop detects, protects, diagnoses, recovers, and learns. Baseten's documented environments and rolling deployments illustrate how much product sits around model execution. Your design partner buys these loops even when they think they are buying faster tokens.

Capacity classes

Plan capacity in three classes. Warm interactive capacity protects the latency objective. Elastic burst capacity absorbs growth but has a measured startup time. Batch capacity can be delayed or interrupted for better economics. Track headroom by request shape and token demand, not only GPU count. Provisioned-throughput products from hyperscalers show that enterprises will pay for predictability. Your opportunity may be to offer a sharper capacity contract for one workload rather than a larger undifferentiated GPU pool.

Incident walkthrough

Walk through a peak-traffic GPU loss. Health checks remove the replica from new routing before client timeouts reveal the problem. The gateway stops admitting low-priority requests that would push surviving queues beyond their deadlines. Sessions with reusable prefixes route to healthy cache candidates when possible; others receive an explicit overload response or a documented degraded model, depending on the contract. The capacity loop requests replacement hardware, but the incident response does not wait for it. Operators see the affected deployment version, request identifiers, queue depth, and customer scope. Status communication begins from the service contract, not from guesswork. After capacity returns, the system warms weights, passes a smoke test, re-enters traffic gradually, and reconciles parked or failed work. The postmortem asks why the failure consumed the error budget and whether more warm headroom, a different admission threshold, or regional redundancy is cheaper. This is reliability as a product: the customer can predict both failure behavior and communication.

Game day

Before live traffic, run a game day. Kill a GPU. Break weight delivery. Send an overlong prompt. Disconnect a streaming client. Exhaust regional capacity. For each event, record the customer symptom, automatic protection, operator action, recovery time, and prevention. Disaggregate prefill and decode only if representative traces show they need different resource shapes. Reliability becomes a wedge when the buyer sees that your system fails predictably, communicates clearly, and restores service without improvisation.

WORKING MODEL

Four ideas to carry

SLO first

Define latency, availability, quality, and data boundaries. Autoscaling and routing policies derive from them.

Cold starts are product behavior

A scale-to-zero promise needs weight delivery, parked-request timeouts, and an honest first-request experience.

Versions are immutable

Build, test, promote, observe, and roll back. Never mutate the only known-good deployment.

Capacity has classes

Warm interactive, elastic burst, and asynchronous batch require different economics and promises.

REFERENCE

Write the service contract

For one workload, define p95 and p99 time to first token, inter-token latency, availability, error budget, maximum queue time, quality floor, residency, retention, and recovery objectives. Then specify overload behavior: which requests wait, degrade, route elsewhere, or fail fast.

Four production loops

Release loopbuild → evaluate → shadow → promote → observe → rollback
Capacity loopforecast → reserve → warm → burst → shed → reconcile
Request loopadmit → route → execute → stream → measure
Incident loopdetect → protect → diagnose → recover → learn

Baseten's environments, stable endpoints, deployment versions, rolling updates, metrics, and rollback model show how much product lives around the runtime.E5

Capacity without fantasy

Maintain three pools: warm interactive capacity for the SLO; elastic burst capacity with a measured startup time; and batch capacity that can be interrupted or delayed. Track headroom in requests and tokens by prompt shape, not only GPU count. AWS's provisioned throughput product shows that enterprise buyers will pay for predictable capacity as a contract, while on-demand traffic remains variable.E16

Disaggregate only when the trace says so

NVIDIA Dynamo documents that prefill and decode pressure come from different variables and can be scaled separately.E9 This is powerful for long-context or high-concurrency workloads, but it adds cache-transfer and scheduling complexity. Start aggregated; split when measured bottlenecks persist across representative traffic.

The pilot reliability packet

Before live data, deliver an architecture diagram, data flow, subprocessor list, logging/retention policy, threat model, incident contacts, SLO, rollback plan, load-test result, and explicit exclusions. Trust can be your wedge even when raw runtime performance is similar.

SHIP EVIDENCE

Run a game day

Use the incident cards to simulate: GPU loss, weight fetch failure, runaway prompt length, downstream disconnect, and capacity shortage. For each, record customer symptom, automatic protection, operator action, and prevention.

Course artifact: labs/pilot-scorecard.md

DIAGNOSTIC CHECKS

Can you use the model?

CHECK 1 · application

What should define autoscaling policy?

CHECK 2 · discrimination

When is disaggregated prefill/decode justified?

CHECK 3 · recall

Which release practice gives the safest recovery?

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.

  1. 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.
  2. 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.
  3. 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.
  4. ev-aws-provisioned Amazon Bedrock Provisioned Throughput · AWS
    Amazon Bedrock lets customers buy fixed-cost model throughput in model units and commitment periods. Hyperscalers therefore compete for predictable enterprise inference capacity in addition to on-demand API traffic.