Skip to content

Conversation

@olevski
Copy link
Member

@olevski olevski commented Oct 30, 2023

So this is something that we have "always done" I think. But according to the flask docs here, when deploying with gunicorn there is no point in using gevent async workers if you do not explicitly use gevent in your code. And we do not do this. So we get no benefit.

Also we only used a single worker because we did not set anything and the default is 1.

The docs for gunicorn recommend 4-12 workers. And because in production we are kind of going for smaller many replicas rather than a large one I went for the smaller number of workers.

/deploy

@olevski olevski requested a review from a team as a code owner October 30, 2023 13:26
@olevski olevski temporarily deployed to renku-ci-nb-1683 October 30, 2023 13:27 — with GitHub Actions Inactive
@RenkuBot
Copy link
Contributor

You can access the deployment of this PR at https://renku-ci-nb-1683.dev.renku.ch

@rokroskar
Copy link
Member

@olevski @Panaetius should this still be merged?

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.

4 participants