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

Add Gunicorn WSGI Server #210

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

alanvitor
Copy link

This pull request adds Gunicorn WSGI Server to handle Flask App and fixes some flask app config.

@Terrtia
Copy link
Member

Terrtia commented Feb 8, 2024

Thank you for the pull request !

I have concerns about potential performance issues.
benoitc/gunicorn#2596
AIL chat feeders are sending large JSON payloads to the API.

Have you encountered any issues with the Flask app configuration?

@alanvitor
Copy link
Author

I was not aware about this issue in Gunicorn. Have been working with Gunicorn and uWSGI a couple of years and didn't get something like that. Tell me the average size of this payload and I can perform some tests and post it here.

The issues with config was the bind ip address set to 127.0.0.1, and the https in ail_domain.

With 127.0.0.1 it was unable to reach the application from load balancer; and tls certificate is attached to load balancer instead of application.

@@ -41,7 +41,7 @@ ail_logs_syslog_level =

##### Notifications ######
[Notifications]
ail_domain = https://localhost:7000
ail_domain = http://localhost:7000
Copy link
Member

Choose a reason for hiding this comment

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

please do not change core configs if not needed.

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.

None yet

3 participants