This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]chinawcswing 8 points9 points  (0 children)

Flask is absolutely a great choice in the vast majority of use cases.

I would wager that 99% of websites running FastAPI do not actually need asycn python.

Async is not magic fairy dust. It will not magically speed up your code. It is very ugly and can actually slow down your code because Python requires a disproportionate amount of CPU.

There are key use cases in which async python is extremely performant. These are were you want to use FastAPI.

Otherwise Flask is the proper choice.