solved 2026-10-10 921 views 25 votes

How do you version OpenAPI without breaking clients? — follow-up #6

@tomo
Backend Engineer

Hit this after a routine bump.

Symptom: How do you version OpenAPI without breaking clients? — follow-up #6

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?

9 replies

@skye
2026-10-11 05:00 UTC · 10 votes

orjson helped cpu a few percent; db still the ceiling.

@piotr
2026-10-11 22:29 UTC · 7 votes

minimal repro with ASGITransport would help more than screenshots.

@amira
2026-10-12 10:35 UTC · 4 votes

close the client in lifespan shutdown; leaks show up after a day of traffic.

@nox
2026-10-13 01:50 UTC · 5 votes

orjson helped cpu a few percent; db still the ceiling.

@cleo_dev29
2026-10-13 19:39 UTC · 7 votes

minimal repro with ASGITransport would help more than screenshots.

@omar
2026-10-13 21:57 UTC · 10 votes

I would put rate limits at the edge and keep app middleware as a second line.

@vera_rs
2026-10-14 00:56 UTC · 10 votes

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

@kai_sre
2026-10-14 15:51 UTC · 1 votes

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

@tomo
2026-10-15 00:36 UTC · 3 votes

check proxy_read_timeout before blaming uvicorn resets.

Reply

Login or register to reply.