Benchmarking FastAPI versus Flask to see what is the FASTEST #Python Backend Framework

preview_player
Показать описание
I've been branching out into new languages and frameworks for a while now and came across FastAPI as a newer Python backend framework comparable to Flask. It's supposed to be a lot faster, and I like a lot of the programming methodologies in Fast versus Flask, so I wanted to do a quick and simple speed benchmark to test the two against each other.

You can read the blog version of this quick research project here:

You can also subscribe to my newsletter to get research like this straight to your inbox every month:

--
#python #backend #programming
Рекомендации по теме
Комментарии
Автор

You are running a Flask dev server. You have to benchmark with Gunicorn, gevent, uWSGI etc. with nginx. Also with few db queries. Which is usually a real world set up look like. How can anyone trust this benchmark?

mystackquest
Автор

The Demo Demons strikes again! Good video nonetheless

Mankind