Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize gunicorn startup options #41

Merged
merged 2 commits into from
Oct 31, 2019

Conversation

mmacata
Copy link
Member

@mmacata mmacata commented Sep 25, 2019

This PR optimizes the startup options with which the python flask server is run (gunicorn).
As read in https://wiki.ubuntuusers.de/Gunicorn/ and http://docs.gunicorn.org/en/stable/design.html, the preferred worker for this setup is gthread, which is an asynchronous worker. For development and easier debugging, only one worker in parallel is started.

@mmacata
Copy link
Member Author

mmacata commented Oct 31, 2019

As discussed with @neteler and @AnikaBettge, I'll merge now

@mmacata mmacata merged commit 0984bec into actinia-org:master Oct 31, 2019
@mmacata mmacata deleted the gunicorn-optimization branch August 10, 2021 13:46
@mmacata mmacata added this to the 0.99.X milestone Nov 9, 2022
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.

1 participant