Launch morning at Copperline, a made up B2B SaaS company, went exactly like every launch morning before it. The support copilot went live for Ana, the support lead. At 9 a.m. the traffic arrived. The autoscaler did its job, adding pods as usual. Latency climbed anyway, then got worse.
Priya Nair, the staff platform engineer, watched the dashboard and saw nothing obviously wrong. The pods were up. CPU was calm. The platform was working as configured. By 9:40 the team pinned traffic to the two warm pods and the queue drained. The launch survived, but the lesson was uncomfortable: nothing was broken, and the system still failed. The workload was different, and every habit the team had built for ordinary web traffic was aimed at the wrong thing.
An AI request is not a quick, stateless web hit. A web request arrives, replies in milliseconds, and frees everything. An inference request generates text token by token, often for seconds, and the engine holds state for it the whole time. Think of it as a phone call, not a letter: the line stays open. That state has a name, the KV cache, the stored attention data for every token so far, and it grows as the answer grows. Short timeouts, aggressive draining, and the idea that a pod can drop any request at no cost all break against this. Treat connections as long lived, drain slowly, and expect memory to rise with live requests.
The scarce resource is also different. On a web tier you watch CPU and RAM, which subdivide neatly. Ten small containers share one node without a fight. A GPU does not split so politely by default. Model weights take a large fixed block of GPU memory, and what is left holds the KV caches of live requests. Sizing by CPU, packing many small replicas per node, and reading a quiet CPU graph as spare capacity all mislead. Size from GPU memory first: weights, plus cache per request, times promised concurrency. Alert on GPU memory and live slots, not only CPU. A GPU can be full while the CPU idles, and the graph will not warn you.
Then there is the shape of the load. Two requests are not equal load. A short question is cheap. A long document question holds a slot and cache far longer. Load follows tokens and time, not request count. Capacity plans written in requests per second, and load tests sending short identical prompts, both lie. Measure prompt tokens, output tokens, and seconds per request, and test with traffic shaped like real use. Live requests times average duration is the load your GPUs feel.
New capacity arrives late, too. A web container starts in seconds and serves at once. A serving pod must pull and load model weights, often many gigabytes, into GPU memory before the first token. That can take minutes, on every new pod. Scaling from zero, fast restarts, and readiness checks that pass when the process is up rather than when the model can answer all break. Gate traffic on a real inference check: a pod is ready only when it returns a token. Keep a warm floor of replicas for known peaks, and cache weights on the node where you can, so a restart reloads from local disk.
Here is the number that makes it concrete. A launch sends both tiers the same spike: 600 extra requests in one minute, 10 per second. On the web tier each request takes 0.2 seconds. Live requests: 10 per second times 0.2 seconds equals 2. Two slots carry the spike, and one small pod has room to spare. On the copilot tier each answer takes 8 seconds. Live requests: 10 per second times 8 seconds equals 80. The same spike needs 80 slots, each holding KV cache on a GPU. If one engine runs 20 live requests at once, the spike needs 80 divided by 20, which is 4 warm engines. Copperline had 2, so 40 requests queued, however healthy the CPU graph looked. Adding 2 engines helps only after weights load, about 4 minutes. Sent traffic early, they add queue, not capacity. That was the launch morning failure.
The last two differences are the ones dashboards miss entirely. A web deploy that is up and fast is usually fine. A model or prompt deploy can be up, fast, and wrong: fluent answers citing the wrong policy. Copperline learned this when a help article edit changed copilot answers with no code deploy at all. Green dashboards are not proof of health. Score a fixed set of real questions on every change and watch that score like latency. Log model version, prompt version, and retrieved sources per answer, so a drop can be traced.
And cost scales with success. A cached web page costs almost nothing per view. Every copilot answer spends GPU seconds, and longer answers spend more. If usage doubles, the GPU bill roughly doubles too. Free retries, unlimited internal tools with no budget owner, and success with no cost plan are all ways to be surprised by finance. Meter tokens and GPU seconds per request, team, and feature from day one, and set budgets and alerts before launch, while the numbers are still small. At an illustrative price of $2.50 per GPU hour, 4 engines cost $10 per hour while the spike lasts. The web pods for the same spike cost a fraction of that, since their requests end in 0.2 seconds.
Six differences, six habits to change. Before you apply an ordinary platform habit to an AI workload, check it against that list. The traffic will be identical; the duration per request is what makes the load 40 times larger, on the expensive resource.
The full interactive chapter is free at https://deployedlab.dev/lessons/infra-01-why-ai-workloads-break-platform-habits. It walks one request through the serving tier, works the same spike in full numbers, and includes a hands-on lab that matches twelve production surprises to the habit behind each. There are 79 chapters free with no signup, and the full bundle of 193 chapters is $5 a month or $39 a year at deployedlab.dev.
Top comments (0)