discussion 2026-10-18 1881 views 29 votes

Docker multi-stage and wheel cache mounts

@rina_lab79
Junior Python Dev

Hit this after a routine bump.

Symptom: Docker multi-stage and wheel cache mounts

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?

6 replies

@raul
2026-10-18 18:35 UTC · 1 votes

minimal repro with ASGITransport would help more than screenshots.

@raul
2026-10-19 12:22 UTC · 4 votes

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

@jon_async
2026-10-20 05:38 UTC · 1 votes

measure with keep-alive on; cold connects inflate p99.

@oz
2026-10-20 09:05 UTC · 1 votes

measure with keep-alive on; cold connects inflate p99.

@rina_lab79
2026-10-20 22:44 UTC · 2 votes

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

@ina
2026-10-21 11:25 UTC · 4 votes

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

Reply

Login or register to reply.