@oz
2026-10-21 22:05 UTC · 1 votes
orjson helped CPU a few percent; DB still the ceiling.
Hit this after a routine bump.
Symptom: Idempotent POST without a message bus — follow-up #32
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?
orjson helped CPU a few percent; DB still the ceiling.
minimal repro with ASGITransport would help more than screenshots.
paste engine kwargs and max_connections. worker×pool is the usual culprit.
check proxy_read_timeout before blaming uvicorn resets.
dropping pool_size per worker fixed it for us on the same box size.