I'm a backend engineer (Java/Spring, TypeScript). Most of what's here is about one question: what should a service do when more work arrives than it can run?
My answer is admission control. Decide before a request starts whether there is room for it, and reject the excess right away instead of letting it queue. Lately that means LLM traffic, where one call uses 500 tokens and the next uses 100,000.
flowchart LR
I["Interactive traffic"] --> T
B["Batch jobs"] --> T
T{{"Tyr decides before the provider is called"}}
T -->|"room: admit"| P["LLM provider or inference server"]
T -.->|"no room: reject"| X["429 with a retry hint"]
L["Latchflo control plane"] -.->|"capacity grants"| T
Across eight matched seeds of a live OpenAI overload, interactive requests behind Tyr completed 98.6% of the time, against 68.1% behind a static concurrency cap of the same size, and Tyr led in every seed. It did that by shedding more batch work, and it is not a latency win. Result file · All evidence
| Project | What it does |
|---|---|
| Tyr | Admission-first proxy for the Anthropic and OpenAI APIs. It reserves a request's tokens before the provider is called, so a batch flood can't take the capacity interactive traffic depends on. TypeScript, Apache-2.0. Docs |
| async-bulkhead-llm | The library Tyr is built on: in-process concurrency and token budgets for LLM calls in a Node.js service. npm |
| async-bulkhead | The same fail-fast idea for Java: bounded in-flight work, no queue, and rejection you can see. Maven Central |
| moflux-bench | The benchmark harness behind the published numbers. Every policy replays the same trace, you can reproduce every baseline yourself, and the runs that failed are published too. |
| Latchflo | Control plane that shares one capacity envelope across a fleet of Tyr replicas without sitting on the request path. Proprietary. |
MoFlux is Tyr plus Latchflo. To see Tyr work in five minutes with no API key, run its eval. There are also bulkheads for plain Node.js, Express and outbound fetch calls.
- LoadLens is an in-browser simulator that shows why a queue hides overload instead of solving it.
- Rate Limiting and Admission Control Solve Different Failure Modes
- When Batch Traffic Competes with Interactive LLM Requests
- Restoring a Grant Is Not Restoring Capacity
- More on DEV and at Systems Under Load
I arrange and record piano music (YouTube, SoundCloud) and build JamSpot, an app for finding local concerts. 🎹
If batch LLM work is starving your interactive traffic, I'd like to hear about it: MoFlux is open to design-partner pilots. For anything else, find me at jb-site.dev or on LinkedIn.



