discussion 2026-10-20 1088 views 29 votes

TLS termination: nginx vs cloud LB for ASGI

@elias
DBA

Hit this after a routine bump.

Symptom: TLS termination: nginx vs cloud LB for ASGI

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?

7 replies

@rine
2026-10-20 16:42 UTC · 3 votes

marking solved after we pinned the dependency and re-smoked /docs.

@nyx_api
2026-10-21 11:00 UTC · 4 votes

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

@tara
2026-10-21 22:34 UTC · 7 votes

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

@rine
2026-10-22 12:06 UTC · 7 votes

check proxy_read_timeout before blaming uvicorn resets.

@rina_lab79
2026-10-23 00:32 UTC · 1 votes

marking solved after we pinned the dependency and re-smoked /docs.

@piotr
2026-10-23 10:18 UTC · 1 votes

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

@leo_cache
2026-10-24 03:58 UTC · 5 votes

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

Reply

Login or register to reply.