11Design a scheduler that admits a request only if it predicts the TTFT and TPOT targets will both hold. What does it predict, and how?▼expertNewOpenAIAnthropicGoogle DeepMind◆ premiumThe two targets are coupled: the TPOT target caps the prefill chunk, which caps prefill throughput, which caps the backlog the TTFT target can absorb. The answer builds the step model, derives the admission rule and shows what to do with requests that fail it.Open full answer →
15Traffic triples for a minute on your LLM API. What do you reject, at what point, and what do you tell the client?▼hardNewOpenAIAnthropicPerplexity◆ premiumAccepting everything during a one-minute spike leaves the API serving dead requests for two minutes after it ends. The answer does the queue arithmetic, picks the rejection rule, and writes the response that keeps clients from making it worse.Open full answer →
04Design autoscaling for an LLM fleet whose model takes four minutes to load. What do you scale on, and how much headroom do you hold?▼mediumNewBasetenModalTogether AIunlockedA web-service autoscaler watching GPU utilization will scale this fleet too late and in the wrong direction. The answer turns the four-minute load time into a headroom number, then decides what absorbs the bursts no scaler can catch.Open full answer →
19Image requests OOM while the KV pool is mostly free. Separate encoder peaks from decoder memory and choose a fix.▼hardNewOpenAIAnthropicNVIDIA◆ premiumUnused logical KV pages can coexist with exhausted device memory. Reconcile expanded image tokens, retained embeddings and phase-specific peaks before changing a decoder token limit.Open full answer →
12Implement a per-tenant rate limiter for an LLM API that limits tokens, not requests, using a token bucket.▼mediumNewOpenAIAnthropicTogether AI◆ premiumA request costs anything from ten tokens to a hundred thousand, and you only learn the real cost when it finishes. The answer reserves at admission, refunds at completion, fails fast on requests that can never fit, and tests the bound the bucket is supposed to guarantee.Open full answer →