mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
"2 x CPU cores + 1" is gunicorn's guidance for sync workers. RomM runs UvicornWorker with sync endpoints served from Starlette's threadpool, so the rule does not transfer: on a 16-core host it measured 3x slower than 4 workers and cost 5.31 GB PSS. The variable also only reaches the gunicorn API server; background tasks run in the separate RQ worker processes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>