Skip to content

Adjust Gunicorn worker settings in production config#12341

Merged
mekarpeles merged 1 commit intomasterfrom
perf/prod-worker-counts
Apr 9, 2026
Merged

Adjust Gunicorn worker settings in production config#12341
mekarpeles merged 1 commit intomasterfrom
perf/prod-worker-counts

Conversation

@cdrini
Copy link
Copy Markdown
Collaborator

@cdrini cdrini commented Apr 9, 2026

Address fastapi handling more traffic and requiring some more workers since it's not fully async yet

Technical

Testing

Has been on prod for a week or so now.

Screenshot

Stakeholders

Address fastapi handling more traffic and requiring some more workers since it's not fully async yet
Copilot AI review requested due to automatic review settings April 9, 2026 20:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates production Docker Compose configuration to rebalance Gunicorn worker counts between the legacy web service and the fast_web (FastAPI) service to better handle current traffic patterns.

Changes:

  • Reduce web Gunicorn workers from 30 → 28.
  • Increase fast_web Gunicorn workers from 2 → 4.

@mekarpeles mekarpeles merged commit 5835a13 into master Apr 9, 2026
11 checks passed
@cdrini cdrini deleted the perf/prod-worker-counts branch April 9, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants