@leo_cache
2026-11-13 02:55 UTC · 0 votes
check proxy_read_timeout before blaming uvicorn resets.
Hit this after a routine bump.
Symptom: Multi-region Redis for idempotency keys — worth it? — follow-up #14
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.
dropping pool_size per worker fixed it for us on the same box size.
measure with keep-alive on; cold connects inflate p99.
dropping pool_size per worker fixed it for us on the same box size.
paste engine kwargs and max_connections. worker×pool is the usual culprit.
paste engine kwargs and max_connections. worker×pool is the usual culprit.
orjson helped CPU a few percent; DB still the ceiling.