solved 2026-10-21 1704 views 23 votes

Idempotent POST without a message bus — follow-up #32

@amira
Tech Lead

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?

5 replies

@oz
2026-10-21 22:05 UTC · 1 votes

orjson helped CPU a few percent; DB still the ceiling.

@piotr
2026-10-22 12:02 UTC · 9 votes

minimal repro with ASGITransport would help more than screenshots.

@rine
2026-10-22 18:58 UTC · 5 votes

paste engine kwargs and max_connections. worker×pool is the usual culprit.

@leo_cache
2026-10-23 00:30 UTC · 1 votes

check proxy_read_timeout before blaming uvicorn resets.

@leo_cache
2026-10-23 06:01 UTC · 6 votes

dropping pool_size per worker fixed it for us on the same box size.

Reply

Login or register to reply.