Python (FastAPI) vs Go (Golang) (Round 2) Performance Benchmark

preview_player
Показать описание
FastAPI vs Go Performance Benchmark.

▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
► I’m a Senior Software Engineer at Juniper Networks (13+ years of experience)
► Located in San Francisco Bay Area, CA (US citizen)

▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬

▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬
0:00 Intro
2:09 1st Test (Static)
4:57 2nd Test (Postgres + Memcache)

▬▬▬▬▬▬▬ Source Code 📚 ▬▬▬▬▬▬▬

#python #golang #fastapi
Рекомендации по теме
Комментарии
Автор

Pythonists on their way to optimize the code to lose to Golang only to 6x times, instead of 7x

vladislav_artyukhov
Автор

Great to see my favorite frameworks' performance limits,
now I can choose frameworks based on the requirements I faced

spdlqj
Автор

Laravel vs Ruby on Rails vs Django, with a static html page test and a simple insert and get route using postgres

DenDenn
Автор

No python backend that does anything even remotely complicated will be able to match go. This is about the performance I would expect as it exactly matches the difference in performance I have personally observed. About ~5-20x depending on where exactly the bottleneck is.

LiveType
Автор

Thank you. Incredible tests. Can you make a graph of requests per second of all frameworks you tested yet?

gost
Автор

People are bashing python, and here I'm so impressed that it's only 7x from golang. It's impressive for a scripting language.
Also, we have come from a long way, 500 req/s is usually enough, even the biggest sites like instagram and youtube are still using python to this day.

lazyhrse
Автор

I guess by the end of the year you will become a master of golang performance optimization ( I really like golang and I like the fact that there is a lot of go videos) love your video keep going

kal
Автор

Hey great content as always, can you compare javascript/typescript orms perfirmance please? Sequelize, prisma, drizzel and typeorm pleaasee

andresaguilar
Автор

Cool, hey! What monitoring tool you use?

django
Автор

That Python latency hurts the heart a bit, but man Go is good.

JT-mrdb
Автор

do you have plans to do Nginx vs HAproxy vs Envoy. thank you for this serie it's very informative.

azulamazigh
Автор

Can you test robyn framework in python vs go ?

prerithsubramanya
Автор

WOW increible video, esta genial, sigue con ellos me ayudas a aprender un poco mas y ver que me combiene para elaborar aplicaciones de alto rendimiento <3 un abrazo desde Peru

novacode
Автор

Can you using socketify for server gateway interface in fastapi

aryindra
Автор

Could you compare spring + virtual threads vs quarkus vs micronaut vs go?

Anyways golang seems like a great baseline to compare any other framework to.

damianblejwas
Автор

This is what I watch while having breakfast. Good stuff

krissukoco
Автор

Love the 1) visual implementation and 2) collective efforts to improve performance.
But, really, we don't compare "languages" here, but mostly [web] servers and networking lib implementations. I would just standardize the APIs, and let folks group into teams around their favourite langs and platforms, incl. Java, C++, etc etc

malexejev
Автор

I know that the focus of your benchmarks is on web frameworks, but I think it would be really cool if you created one comparing PDF parsers in different programming languages. I searched for this and couldn't find any good benchmarks on that topic online.

PedroLopes-zxsl
Автор

I wonder if this improves when python finally gets rid of GIL

nr
Автор

Pls compare LiteStar vs FastApi vs BlackSheep

varuzam