@rina_lab79
2026-11-20 14:05 UTC · 9 votes
check proxy_read_timeout before blaming uvicorn resets.
Hit this after a routine bump.
Symptom: Redis pipeline vs single GETs under 5k RPS
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?
check proxy_read_timeout before blaming uvicorn resets.
marking solved after we pinned the dependency and re-smoked /docs.
paste engine kwargs and max_connections. worker×pool is the usual culprit.
dropping pool_size per worker fixed it for us on the same box size.
marking solved after we pinned the dependency and re-smoked /docs.
dropping pool_size per worker fixed it for us on the same box size.
orjson helped CPU a few percent; DB still the ceiling.