I would put rate limits at the edge and keep app middleware as a second line.
Idempotent POST without a message bus
@mei
QA Automation
Hit this after a routine bump.
Symptom: Idempotent POST without a message bus
TimeoutError / pool exhausted / upstream reset
(versions in next reply if needed)
Env: Python 3.12, FastAPI recent, uvicorn workers≥2.
What should I check first?
9 replies
@omar
2026-11-05 12:38 UTC · 0 votes
@oz
2026-11-05 14:32 UTC · 8 votes
orjson helped CPU a few percent; DB still the ceiling.
@helen_go
2026-11-05 22:28 UTC · 10 votes
minimal repro with ASGITransport would help more than screenshots.
@rine
2026-11-06 15:24 UTC · 3 votes
dropping pool_size per worker fixed it for us on the same box size.
@raul
2026-11-06 22:22 UTC · 8 votes
measure with keep-alive on; cold connects inflate p99.
@raul
2026-11-07 12:13 UTC · 9 votes
dropping pool_size per worker fixed it for us on the same box size.
@tara
2026-11-08 02:41 UTC · 8 votes
dropping pool_size per worker fixed it for us on the same box size.
@ina
2026-11-08 19:36 UTC · 0 votes
I would put rate limits at the edge and keep app middleware as a second line.
@nyx_api
2026-11-09 00:18 UTC · 10 votes
marking solved after we pinned the dependency and re-smoked /docs.