Skip to content
Discussion options

You must be logged in to vote

From my (very limited) experience, a lot of flask-centric implementations need a big overhaul when switching to Connexion 3.

That being said: Are you sure you really need gevent? (also with Connexion 2.x)
I am a fan of gevent because it allowed me to use "async with colorless functions" and use libraries which were not designed for asynchronous use.

However if you just want to process a few requests in parallel and you don't need all requests in the same process, there is the traditional approach of using gunicorn + multiple workers which is way less complex than using gevent.

My gut feeling is that instead of gevent, you could use a full async app with Connexion 3.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by chrisinmtown
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants