r/FastAPI • u/Somnath_geek • Sep 27 '24
feedback request Is FastAPI really fast ?
Is FastAPI really fast as claimed on the website? “ on par with Node Js and GO “
What do you think ? Is it misleading or not ?
0
Upvotes
View all comments
Show parent comment
1
u/mathmul Jun 26 '25
You would want to make not only a simple CRUD API, but something more intricate so you take advantage of coroutines that FastAPI provides out of the box. If you're trying to measure how fast you can get an item from your PostgreSQL database, no amount of nesting async/await can help making Python faster than Go. The point is FastAPI is faster than Django or Flask for
and it achieve that by leveraging the same techniques that NodeJS and Go already use.
If you want a faster Python, use Mojo (Modular).