🔴 To support my channel, I'd like to offer Mentorship/On-the-Job Support/Consulting (me@antonputra.com) 🍿 Benchmarks: kzbin.info/aero/PLiMWaCMwGJXmcDLvMQeORJ-j_jayKaLVn&si=p-UOaVM_6_SFx52H 👋 AWS is expensive - Infra Support Fund: buymeacoffee.com/antonputra
@gaby_ops6 күн бұрын
👋🏻 GoFiber maintainer here, we have opened an issue in our repo to investigate the crash. Thanks for the awesome video! 💪 We can't see anything in the example code that would cause this, so it must be something internal to Fiber.
@Akhbash7 күн бұрын
AWS should sponsor this channel!
@AntonPutra7 күн бұрын
yeah i'll run out of money soon 😭
@bjbegui7 күн бұрын
@@AntonPutra I'll throw some cash your way soon
@tandemwarhead7 күн бұрын
TLDR: net framework choice does not matter for 99% of the workloads
@AntonPutra7 күн бұрын
true
@therealgamingmaniac7 күн бұрын
Yes, if you're confused because of 2-5% difference at most, just switch to Rust,C,Zig or C++
@Kirides7 күн бұрын
but my router-microbenchmarks tell me otherwise! gin/echo/... are waaaay faster.... yea - people really don't understand their own performance needs 99.9% of the time. Most of us don't build a highly scalable memory-based cache services, but regular "LOB" applications that talk to other services.
@winfle6 күн бұрын
@@Kiridesif you need performance, why use go? ;)
@dejangegic6 күн бұрын
@@winfleBecause Go is very fast for a garbage collected language. Most of the infrastructure can be built with it actually. Do critical parts still might require some MMM control, but in general, it's great. Especially compared to what's usually used: PHP, JS, Ruby, Python etc.
@MrBoBrilO7 күн бұрын
We need a guide on how to do these tests ourself >:)
@AntonPutra7 күн бұрын
i have all the pieces on my channel from creating an eks cluster to monitoring containers in k8s and source code is under each video
@jordinario7 күн бұрын
Hi Anton, been following your videos for a while now, they are always great! Hopefully you can keep up with it for the longest time! Cheers from Brazil
@Qrzychu927 күн бұрын
as always, great video. Maybe small feedback, could you show also actual MBs of memory in graph? It's hard to compare the values between different videos, and I don't expect you to publish every possible permutation of technologies :)
@AntonPutra7 күн бұрын
got it, i'll convert it to actual usage next time
@snowleo777Күн бұрын
Круто, вы делаете интересные и актуальные тесты. Всегда с большим удовольствием смотрю ваши видео.
@nabilpatel9707 күн бұрын
JavaScript backend libraries. Such as NestJs, express, fastify etc please
@roccociccone5974 күн бұрын
Lol imagine using JS for backend services.
@dermuschelschluerfer3 күн бұрын
@@roccociccone597 sounds like guaranteed 100ms latency form the start
@mujibulhaquetanim2 күн бұрын
@@roccociccone597 what lol! it is being used widely.
@trustlang_ua6 күн бұрын
idea for next video: nest.js with fastify nest.js with express
@Figurum4 күн бұрын
vs bun vs go
@eduardoolat6 күн бұрын
Your videos are gold! Can you please compare SQLite vs rqlite vs libsql (turso)?
@AntonPutra6 күн бұрын
thanks! added
@TheHTMLCode5 күн бұрын
Awesome as always. I’d love to see Go vs PHP8 vs PHP8 using Swoole
@AntonPutra4 күн бұрын
thanks! i'll do php soon
@mohit846047 күн бұрын
Event loop cannot be fast when you have computation in routes,and you are not offloading that thing to another go routine.
@AntonPutra7 күн бұрын
got it thanks!
@ievgenmajor33017 күн бұрын
Good stuff. Good stuff.
@AntonPutra7 күн бұрын
thank you!
@dimasarestu20437 күн бұрын
pls benchmark mysql 8/8.4/9 its worth it for upgrade or not
@AntonPutra7 күн бұрын
ok added
@roganl7 күн бұрын
Anton, another beautiful comparison - that these tool authors should be tracking independently. I am concerned that you may be polluting your results if you are running these tests concurrently against the same shared postgres instance - as that's a shared resource that will cross contaminate the results
@UwU-f2a7 күн бұрын
maybe test using a postgresql driver that has pool size setting, the driver must be the same for all the framework here to make it apple to apple, like pgx for example
@AntonPutra7 күн бұрын
yes i use exactly the same driver and not only that, i use exactly the same method pool size setting - github.com/antonputra/tutorials/blob/main/lessons/229/myapp/db/db.go#L13-L14 db insert - github.com/antonputra/tutorials/blob/main/lessons/229/myapp/device/device.go#L27
@shm2367 күн бұрын
Gnet seems interesting. I wonder why their memory useage was so much less in the first test.
@marianivanov64317 күн бұрын
can you show who is win with image sometimes i cant understand which tech is best
@AntonPutra7 күн бұрын
stdlib is great for low latency, fasthttp for throughput
@davidgazda45857 күн бұрын
Create please rank table of language+framework with its results
@papryk11596 күн бұрын
your videos are great man, binge watching them all the time! regarding another benchmark - what about some storage solutions? Rook vs OpenEBS?
@ListenSomething7 күн бұрын
Thank you for the comparison. I just want to tell you can increase volume a bit. It sounds very low.
@mikolajsemeniuk85746 күн бұрын
Great video !
@carlhandy6 күн бұрын
Always wondered about how much this is costing you. Maybe instead of AWS use Digital Ocean, Linode or some cheaper VPS alternative.
@AntonPutra6 күн бұрын
yeah it is costly
@jakubklecki29637 күн бұрын
Okay so I'm just going to stick to stdlib, if I ever get 10k requests/sec (very unlikely) only then I will start thinking about other options
@AntonPutra7 күн бұрын
fair but think about middleware as well
@Nick-yd3rc7 күн бұрын
Yes and you need to consider your actual payloads and latency.
@cheatoffchannel63207 күн бұрын
Python FastAPI please 🙏, it’s gonna be surprisingly fast.
@gaby_ops6 күн бұрын
No, it won't be compared to Golang
@lachlanm93047 күн бұрын
framework that is never talked about is golang iris, would like to see that compares too all of these ones
@fusionfuryx7 күн бұрын
Can you benchmark FastAPI vs Go stdlib?
@AntonPutra7 күн бұрын
yes but why stdlib and not fasthttp
@SilasDuarte-e9k7 күн бұрын
@@AntonPutra I believe that in production people tend to use stdlib in Go, and some people believe that FastAPI can be an alternative to Go.
@cheatoffchannel63207 күн бұрын
Yeah would be great to know how FastAPI stands against any compiled language frameworks
@roccociccone5974 күн бұрын
@@SilasDuarte-e9k spoiler: it can’t. We literally moved from FastAPI to Go.
@SilasDuarte-e9k4 күн бұрын
@@roccociccone597 I know, but some people need to see to believe 😅 I prefer Go over Python 9/10 days
@w1png7 күн бұрын
Any plans for minikube tutorial part 4? I know it didnt get a lot of views but its such a great tutorial series
@AntonPutra7 күн бұрын
i may do more tutorials soon
@shinebayar7 күн бұрын
Wow framework claims that it's fast, but actually is fast? That's new.
@martinhotmann78687 күн бұрын
Yeeeeeeah :D Finally .. love you so much! (◕‿◕)
@AntonPutra7 күн бұрын
will now compare with other fastest frameworks
@amig08427 күн бұрын
@@AntonPutra gnet and zzz (zig) 😋😋😋
@brianarnold91497 күн бұрын
Please compare Flask vs. Django vs. FastAPI And also Go's Stdlib vs. Python's FastAPI
@Monkeydew1o27 күн бұрын
Please do a higher level golang framework comparison. Like gin versus Chi
@AntonPutra7 күн бұрын
ok
@FilipeASantana7 күн бұрын
Top heim, dublado em português Br. Aí sim eu dou valor.
@trap73695 күн бұрын
a dublagem é feature nova do youtube kkk, eu achei meio robótico, se não achou?
@seringturu5 күн бұрын
What did you use to benchmark and making that graph?
@AntonPutra5 күн бұрын
prometheus + grafana and i have a client that instrumented with metrics as well
@snatvb6 күн бұрын
once again confirming that you are more likely to get stuck in a database than in the capabilities of your application :)
@awksedgreep7 күн бұрын
Fastest Go web framework: Phoenix ;) Wait, you should totally test that theory. haha
@101kawsar7 күн бұрын
stdlib 😎💪
@AntonPutra7 күн бұрын
yes it's great
@riskikukuh12936 күн бұрын
Hi Anton, can i run your test in my local machine ? Can you make video to tell us how to run your code / benchmark, thanks a lot
@AntonPutra6 күн бұрын
sure you can source code in the description, i may include compose files in the future
@riskikukuh12936 күн бұрын
@AntonPutra i mean, you can explain how to run your benchmark 😅
@zhifong-gan5 күн бұрын
can u also test Hertz framework?
@AntonPutra5 күн бұрын
yes i just forgot about it
@MusKel7 күн бұрын
When Kafka vs Nats?
@himmetavsar21687 күн бұрын
Waiting for this one as well
@AntonPutra7 күн бұрын
soon i promise
@fprotimaru19447 күн бұрын
@@AntonPutra this would be one of the best videos you ever made:)
@Nick-yd3rc7 күн бұрын
NATS is substantially slower, I’d rather watch Pulsar vs Rabbit vs Artemis. On various message sizes. It gets only interesting if you parameterize your message size. But all of them work best in clusters to serve concurrent workloads.
@carlos-rian7 күн бұрын
The same for python please ☝🏼
@orafaelgf7 күн бұрын
great video, tks.
@AntonPutra7 күн бұрын
thanks!
@vasilekx86 күн бұрын
What about Gin and Chi?
@AntonPutra6 күн бұрын
they are not optimized for performance
@zezohassam7 күн бұрын
Can you do spring boot vs Django
@UwU-f2a7 күн бұрын
obviously springboot win (JIT compilation, better runtime and garbage collector, better features). Django is pure python, no binding with performant library written in other languages, it doesnt even beat nodejs
@AntonPutra7 күн бұрын
yes looks like a fair comparison from a functionality perspective
@mmadevgame7 күн бұрын
@@UwU-f2a Sometimes it's just nice to see how fast or slow something is compared to something else
@Nick-yd3rc7 күн бұрын
Define Spring Boot. The defaults are fine but there’s a lot of knobs to tune it to your actual workloads. How much RAM, what stack size, blocking, virtual threads or reactive controllers and database?
@Grahamaan277 күн бұрын
Imo, if a container is getting more than 20k req/s you should start scaling earlier
@AntonPutra7 күн бұрын
true
@fedot_compot1806 күн бұрын
What about bun router?
@Teo-t9u7 күн бұрын
Prisma vs drizzle 😊
@AntonPutra7 күн бұрын
ok will do
@IlyaShaforostoff7 күн бұрын
@@AntonPutra please add sequelize to this comparison )
@AliResool-k8z7 күн бұрын
Where is go gin?
@BarakaAndrew7 күн бұрын
It wouldn't make sense since gin is a wrapper for stdlib, the performance would be the same as stdlib. Same goes for echo. They are all just stdlib with some fancy stuff built on top such as json parsing, context e.t.c
@AntonPutra7 күн бұрын
yeah gin is on the same level as stdlib
@MilanRodd7 күн бұрын
You forgot echo again ((
@AntonPutra7 күн бұрын
i didn't want to disappoint you lol
@azulamazigh27897 күн бұрын
We demand HAproxy vs NGINX
@AntonPutra7 күн бұрын
haha ok
@azulamazigh27897 күн бұрын
@@AntonPutra you are the best
@sumitftr7 күн бұрын
Please make: CouchDB vs MongoDB vs DynamoDB vs ScyllaDB vs FireStore
@nana.bxffour6 күн бұрын
Ummm how much does he earn? Those are big boxes
@AntonPutra6 күн бұрын
yeah
@wwloyd7 күн бұрын
std lib is the way
@AntonPutra7 күн бұрын
yes
@maximtheconqueror6 күн бұрын
And... Rust is faster!!!
@AntonPutra6 күн бұрын
rust is coming, will see
@trap73695 күн бұрын
@@AntonPutra waiting for more rust benchmarks, great job!
@markxavior6 күн бұрын
You should gave included gin
@AntonPutra5 күн бұрын
will do next time
@AchwaqKhalid7 күн бұрын
You forgot the following Frameworks: - Gin - Chi - Beego - Iris - Echo - ReveL Please do include these in your future video/s because Golang is apparently on high demand nowadays 👨🏻💻
@AntonPutra7 күн бұрын
ok i'll include some of them
@revenity75437 күн бұрын
GNet is not actually standard compliant
@AntonPutra7 күн бұрын
it's not
@SilasDuarte-e9k7 күн бұрын
But it's Go
@revenity75437 күн бұрын
@@SilasDuarte-e9k It's not a valid HTTP framework
@revenity75437 күн бұрын
@@AntonPutra Are u agreeing with me or no
@michelvandermeiren86617 күн бұрын
So std is as good as fiber ? Soo many people say fiber is way faster
@AntonPutra7 күн бұрын
It is faster at some point and has higher throughput
@jesusruiz40737 күн бұрын
Yes, fiber is way faster (see first test), but in typical database applications, it does not matter. A simple example: - HTTP handling time with Std is 1ms, and with fiber is 10x faster: 0.1ms - Business logic and DB operations: 99ms (it is the same independent of the framework). Total times: Std: 100ms, fiber: 99.9ms And normally, the difference is even less. However, when the time elapsed per request is mostly HTTP handling, the difference is apparent.
@news39517 күн бұрын
Hello Brother Anton Putra 🥰🥰, Can you compare AWS S3, Cloudflare R2, azure blob storage , backblaze b2 storage and Google Storage ? .