discussion 2026-10-01 402 views 19 votes

Share your JSON CRUD RPS on 4 vCPU

@gabe
Senior Python Dev

Hit this after a routine bump.

Symptom: Share your JSON CRUD RPS on 4 vCPU

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

@amira
2026-10-02 03:13 UTC · 1 votes

minimal repro with ASGITransport would help more than screenshots.

@brick
2026-10-02 14:23 UTC · 4 votes

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

@cleo_dev29
2026-10-03 03:01 UTC · 5 votes

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

@sana
2026-10-03 12:38 UTC · 7 votes

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

@omar
2026-10-04 01:58 UTC · 6 votes

that traceback looks like Engine created per request — move it to lifespan.

Reply

Login or register to reply.