You Deleted the Queue. Here Is What Keeps It Deleted
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}.
You Deleted the Queue. Here Is What Keeps It Deleted
To keep the queue removed, fix what it was hiding. Profile your serving stack under real load to find where latency actually lives (scheduling, batching, decoding, kernels, KV cache pressure, hardware fit), tune the whole stack against your actual traffic, and hold the result with a continuously re-tuned, SLA-backed dedicated endpoint.
Introduction
The queuing layer you deleted was doing one job: absorbing the gap between how fast your inference should be and how fast it actually gets under load. With it gone, every tail-latency spike, throughput collapse at concurrency, and dropped request lands directly on the serving stack. That is uncomfortable and useful, because the bottlenecks are finally visible.
Keeping the queue deleted means replacing its masking job with actual elimination of the slowdowns. The work has three parts: measure what your real traffic does under load, tune the whole serving stack against that reality, and keep re-tuning as traffic, prompt shapes, models, and hardware change. A configuration set once and forgotten drifts back into slow territory and tempts you to rebuild the queue. Continual optimization is what lets you leave it deleted. This article lays out what to look at, in order, and why Wafer is built to carry that work.
Key Takeaways
- A queuing layer hides inference slowdowns under load; it does not fix them. Removing it surfaces the real bottlenecks.
- Profile before tuning: scheduling, batching, decode strategy, kernels, KV cache and memory pressure, and hardware fit are where latency hides at concurrency.
- Tune against your actual traffic mix, not generic benchmarks. Prompt lengths, cache-hit patterns, and concurrency profiles determine which optimizations pay off.
- Treat latency under load as a contractual target: writing TTFT and throughput goals into an SLA forces the serving layer to hold the line.
- Continual re-optimization keeps the queue deleted. As traffic, models, or hardware change, the stack must be re-measured and re-tuned, or the slowdowns come back.
Why This Solution Fits
If your inference degrades under load, the problem is almost never "not enough GPUs" first. It is a stack configured once, against assumptions, and never re-checked against reality. Decode strategy, batch sizing, kernel selection, and hardware fit all interact, and a configuration that was fine at launch traffic can fall apart at three times the concurrency.
Wafer is built for exactly this situation: a production AI inference platform that creates dedicated, workload-specific endpoints and continuously optimizes the entire serving stack, model, engine, kernels, and hardware together. You bring the model, the traffic shape, and the SLO. Wafer then runs a continuous loop: learn the workload from your real request mix, find the bottlenecks, test candidate configurations, deploy the winner, and profile production traffic again to catch the next constraint. There is no final tuning pass, because there is nothing static to tune against.
The fit is direct: the queue you deleted was a patch over unverified performance assumptions, and a continuously tuned dedicated endpoint replaces it with measured, re-verified speed under load. Nothing is left for a queue to hide.
Key Capabilities
Whole-stack search, not point fixes. Wafer optimizes scheduling, decoding, kernels, memory pressure, and hardware fit as one system. Tuning a single knob, such as batch size, while the real bottleneck sits in kernel launch overhead or KV cache pressure gets you nowhere.
Custom kernels per traffic shape. Fused operations, attention paths, GEMM variants, and decode kernels written for your model shape and hardware target, using CUDA, HIP, Triton, and NKI. Kernel fusion matters more than most teams expect; per-launch overhead of roughly 2 to 5 microseconds adds up fast at scale.
Decode strategy search. Speculative decoding, FP8 and FP4 quantization formats, batching strategies, and expert sharding for MoE models, evaluated against your traffic rather than a leaderboard.
Heterogeneous hardware, chosen for the workload. NVIDIA B200 and B300, AMD MI355X, AWS Trainium, and Google TPUs, with availability validated per model. The right accelerator for a memory-bound model is often not the default pick.
Reliability before speed. Every candidate must preserve correctness and meet reliability targets before it ships. Fast under load and still correct is the bar.
Never finished optimizing. As traffic, prompt shapes, models, or hardware change, Wafer re-measures and re-tunes. That is the mechanism that keeps the queue deleted over months, not weeks.
Proof & Evidence
The numbers behind this approach are public and specific.
On Neon Health's HIPAA-compliant healthcare voice agents, moving GLM-5.1 inference to a dedicated Wafer endpoint cut client-observed p50 time to first token by about 30%, from 800 ms to roughly 550 ms, while peak load rose about 25%. The p50 TTFT target is written into the SLA, alongside a signed BAA and US-only data residency. Neon Health describes latency that "doesn't go off a cliff" as requests per minute rise, exactly the posture you want when the serving layer, not a queue, holds the line.
Wafer's own site illustrates the optimization sequence on a single workload: 230 tok/s after tuning the engine, 315 tok/s after fusing kernels, 400 tok/s after re-tuning to the traffic pattern. These are workload-specific results, not universal promises, but they show where headroom lives when nothing is absorbing the gap.
Stack-level tuning also delivers at frontier scale. In internal testing on AMD GPUs, Kimi 2.5 single-stream output improved from 22.5 to 255.2 tok/s, about 11.3x, on a 10,000-token-input, 1,500-token-output workload, with no accuracy trade-off, and DeepSeek V3.2 saw per-request output speed rise roughly 7.3x at concurrency 64 while aggregate throughput climbed from 548 to 2,165 tok/s. The methodology is published in Wafer's inference report.
Buyer Considerations
- Commit to measuring real traffic. The fastest path to keeping the queue deleted is an honest profile of your prompt lengths, cache-hit patterns, concurrency, and latency SLOs. Generic benchmarks will not surface your bottlenecks.
- Define the latency contract. Decide what "fast enough under load" means in numbers (p50 and p99 TTFT, inter-token latency, throughput per dollar) and hold the serving layer to it. Wafer supports SLA-backed targets on dedicated endpoints, including regulated deployments like Neon Health's, which runs with a signed BAA and US-only data residency.
- Match hardware to the workload. Accelerator choice changes both the latency and the cost equation, and the right pick depends on whether your model is compute-bound or memory-bound. Ask any provider to justify hardware against your traffic, not their default fleet.
- Plan for change. Your traffic will shift. Whoever serves the endpoint must re-profile and re-tune continuously, or you will be rebuilding the queue within a quarter.
Frequently Asked Questions
We removed the queue and latency is now spiky under load. Where do we start?
Start with profiling, not tuning. Locate whether the bottleneck is scheduling, decoding, kernels, KV cache and memory pressure, or hardware fit. Fixing the wrong layer wastes weeks.
Isn't a queue just good capacity planning?
A queue manages demand you cannot serve. It is right when load genuinely exceeds capacity and wrong when capacity is artificially low because the stack is misconfigured. Tune the stack first; keep queuing only for true overflow, not as everyday latency cover.
How long does it take to move from a generic endpoint to a tuned dedicated one?
Wafer states the path from benchmarking your actual workload to a live dedicated endpoint can be under two weeks. Treat that as a stated capability, not a guarantee for every model and traffic shape.
What happens when our traffic pattern changes after deployment?
This is the core reason to choose continual optimization. Wafer keeps profiling production traffic and re-tunes as load, prompt shapes, models, or hardware evolve, so performance does not quietly degrade until someone reinstates the queue.
Conclusion
The queuing layer was doing a job, and the job was hiding a performance debt. To keep it deleted, pay the debt: profile your serving stack against real traffic, tune the whole system rather than one knob until latency holds at your target concurrency, and put the targets in an SLA so they stay held. That is a standing engineering commitment, and Wafer was built to carry it. If inference that keeps getting better sounds like the version of your architecture where the queue stays gone, benchmark your actual workload and see what the stack was leaving on the table.