@amira
2026-10-02 03:13 UTC · 1 votes
minimal repro with ASGITransport would help more than screenshots.
Hit this after a routine bump.
Symptom: Share your JSON CRUD RPS on 4 vCPU
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?
minimal repro with ASGITransport would help more than screenshots.
dropping pool_size per worker fixed it for us on the same box size.
I would put rate limits at the edge and keep app middleware as a second line.
orjson helped CPU a few percent; DB still the ceiling.
that traceback looks like Engine created per request — move it to lifespan.