Skip to content

AI-693: Converting flask instances in production ready WSGI server#7

Open
Hugo-Pare wants to merge 7 commits intomainfrom
hugo/ai-693/production-server
Open

AI-693: Converting flask instances in production ready WSGI server#7
Hugo-Pare wants to merge 7 commits intomainfrom
hugo/ai-693/production-server

Conversation

@Hugo-Pare
Copy link
Collaborator

What is the purpose of this change?

Making the server production ready

How is this accomplished?

From flask dev server to Gevent production server

Anything reviews should focus on/be aware of?

@RohanSreelesh
Copy link
Collaborator

Flask documentation suggests not using gevent directly, might be worth looking into why this is the case.

Prefer using Gunicorn or uWSGI with gevent workers rather than using gevent directly. Gunicorn and uWSGI provide much more configurable and production-tested servers.

https://flask.palletsprojects.com/en/stable/deploying/gevent/

Hugo-Pare and others added 4 commits April 8, 2025 15:32
* Revert pytoml (#2)

* Add openai handlers

* Update endpoints

* Update model to use sam

* DATAGO-98385: Use 3.10.16 as min python version (#6)

* bump python version

* skip failing test

* use 3.10.16 as min version

---------

Co-authored-by: Rohan <31416057+RohanSreelesh@users.noreply.github.com>
Co-authored-by: Art Morozov <art.morozov@solace.com>
@Hugo-Pare Hugo-Pare requested a review from gregmeldrum April 23, 2025 10:01
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.

5 participants