When running a Connexion application with FlaskApp, the server becomes very slow or even blocked under moderate user load. However, the same application performs significantly better when ported to AsyncApp, when run as a pure Flask application with gevent.
This suggests there may be an issue in FlaskApp. This performance gap makes it difficult to rely on FlaskApp in production.
I’ve created a minimal reproducible example here:
👉 https://github.com/pradhan-v/connexion-slow-flaskapp
Environment:
Connexion version: 3.2.0
Python version: 3.12
Related?: #2045