Je viens de tomber là-dessus :
Python has evolved since Flask was first released around 8 years ago,
particularly with the introduction of asyncio. Asyncio has allowed for
the development of libraries such as uvloop and asyncpg that are
reported (here, and here) to improve performance far beyond what was
previously possible. Sadly Flask is not easily combined with asyncio
or these libraries. However the Flask-API can be used with asyncio via
the Quart framework.
Quart provides the easiest transition for Flask apps to use asyncio as
it shares the Flask-API. This means that existing Flask apps can
evolve with very little effort into Quart apps and then use these new
libraries to take advantage of performance improvements not possible
Route | Flask | Quart | Ratio (Quart/Flask)
GET /films/995/ | 330 | 1160 | 3.5
GET /films/ | 99 | 195 | 2.0
POST /reviews/ | 325 | 1114 | 3.4
C'est pour avoir un retour d' expérience, et pour vous le montrer au cas où.
Vous me le conseillez ?
Faut il abandonner flask ?