Go (Golang) vs Node.js: Performance (Latency - Throughput - Saturation - Availability)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 340

  • @AntonPutra
    @AntonPutra  16 วันที่ผ่านมา +1

    ► What should I test next?
    ► AWS is expensive - Infra Support Fund: buymeacoffee.com/antonputra
    ► Benchmarks: th-cam.com/play/PLiMWaCMwGJXmcDLvMQeORJ-j_jayKaLVn.html&si=p-UOaVM_6_SFx52H

  • @germandavid2520
    @germandavid2520 21 วันที่ผ่านมา +41

    It's really cool that you make new videos with the corrections, we can all check those PRs here and learn something new.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +9

      thanks, the more mistakes i make, the more content i generate 😂

  • @andreujuanc
    @andreujuanc 21 วันที่ผ่านมา +49

    Very impressive that NodeJS can handle so many req/s considering it's running on a VM (v8) and Go compiles to native code.

    • @OldKing11100
      @OldKing11100 21 วันที่ผ่านมา +3

      I do like these tests since it's mirroring what I'm seeing from techempower benchmarks between nodejs and go-std where Plaintext only really tests server handling.
      JSON 1-query 20-query Fortunes Updates Plaintext
      561,077 299,223 18,137 256,269 7,765 738,221 //Go-std
      320,168 95,776 6,860 70,833 3,048 454,082 //NodeJS

    • @_garicas
      @_garicas 21 วันที่ผ่านมา +2

      yeah, V8 has JIT, NodeJS has C++ addons, and so on

    • @kamurashev
      @kamurashev 20 วันที่ผ่านมา +9

      Fully agree, being mostly java dev I'm impressed by js (node) performance. And I know you wouldn't hear it often from Java devs - JS is cool language!

    • @_garicas
      @_garicas 20 วันที่ผ่านมา

      @@kamurashev do you think the language itself is cool (syntax, semantics, etc) or the runtime? Or both?

    • @kamurashev
      @kamurashev 20 วันที่ผ่านมา +1

      @@_garicas I think both. Sometimes I miss strong typing but honestly, in case of JS I totally get it. It can be an issue for big projects but it also in case of JS can be a benefit for the small services. I also like package management. And I like the simplicity of working with objects, where I can do whatever I like manipulations.

  • @JT-mr3db
    @JT-mr3db 21 วันที่ผ่านมา +46

    Now we can finally justify moving all of our tech stacks over to Go and blow our 2 users minds.

    • @a0flj0
      @a0flj0 21 วันที่ผ่านมา +1

      He also did a test Rust vs Go, also in two versions, an initial one and one after receiving feedback. Rust is way better than Go.

    • @LiveType
      @LiveType 21 วันที่ผ่านมา +2

      python -> go pipeline is 100% worth it. 10x improvements on the same hardware are pretty typical with a moderately complex application.

    • @commonfolk663
      @commonfolk663 20 วันที่ผ่านมา +4

      @@a0flj0 Rust is on whole other level. IDK why would anyone redo anything in Golang if he has resources.
      Go is a good language to bootstrap things, but it falls off quickly in almost any scenario. Even if you use much slower languages than Rust or Go, if they're popular they still usually have much better approaches typing and error handling in requests. And then you can just keep adding instances endlessly. Poorly optimized, awfully written NodeJS without typescript would have 0 advantages over simple server in Go, but you can still just throw 16GB RAM and 8 server instances at it and it would work like charm.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      😂

    • @Mylordkaz
      @Mylordkaz 18 วันที่ผ่านมา +1

      @@commonfolk663 most projects don't need Rust or even Go and can do very well with Node. But at the end it's just a case by case and resources availability question.

  • @hardtech1010
    @hardtech1010 21 วันที่ผ่านมา +20

    Thanks Anton. I wanted to improve the node code after I saw the previous terrible performance. I have used node for years now and I knew it could do better than what I saw initially. I will never argue node is better than go but I will say it is a very good runtime for most projects if you know how to use it.

  • @manwithnoname4139
    @manwithnoname4139 21 วันที่ผ่านมา +113

    Node vs Bun vs Deno please

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +21

      next 💯

    • @s1v7
      @s1v7 20 วันที่ผ่านมา

      let me guess - bun will be the fastest, node - the slowest

    • @manwithnoname4139
      @manwithnoname4139 20 วันที่ผ่านมา

      @@s1v7 It will come out like that, but it would be useful to see and compare the cpu and memory consumptions. Also, Deno and Bun still cannot use all the nodejs libraries. So it is still problematic to switch from nodejs to bun or deno.

    • @snatvb
      @snatvb 20 วันที่ผ่านมา

      ​@@AntonPutra really interesting
      deno had major update (v2), interesting how much better it's gotten

    • @hermes6910
      @hermes6910 20 วันที่ผ่านมา

      @@snatvb Still in RC and not released ? But yeah, definetly want to see Deno V2

  • @bartek5598
    @bartek5598 20 วันที่ผ่านมา +13

    Please make PHP8.3 (FPM and Swoole) vs NodeJS comparison. This is what most of web uses now.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +5

      soon

    • @roger-sei
      @roger-sei 18 วันที่ผ่านมา

      I love Swoole. Traditionally, PHP is very slow. Would be nice to see Swoole running against Node or GO

  • @Perspectologist
    @Perspectologist 21 วันที่ผ่านมา +1

    I really appreciate this series of videos comparing frameworks, languages, and configurations. It is interesting to see a semi-naive implementation vs an optimized implementation comparison. It is helpful to understand how much configuration can matter. Thanks for making and sharing this content with us.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      thanks!

  • @thomasp3428
    @thomasp3428 21 วันที่ผ่านมา +52

    Congratulations to Golang for its fair participation in NodeJS Paralympics.

    • @DrewryPope
      @DrewryPope 20 วันที่ผ่านมา +1

      Lol

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      😂

    • @MarcusTorres-zv5cv
      @MarcusTorres-zv5cv 20 วันที่ผ่านมา +2

      Another one who sits in front of a computer to write nonsense, 90% of applications don't need this 'high concurrency' that Go claims to have. Nowadays, there are scalable structures like AWS, edge computing, etc. In the tech world, everything changes; don't expect Node.js to remain so inferior to Go in the coming years, or don't be surprised if the tables turn. Which, in reality, wouldn’t even be that significant because a development structure doesn’t live off benchmarks alone.

    • @toTheMuh
      @toTheMuh 20 วันที่ผ่านมา +8

      @@MarcusTorres-zv5cv Yeah, there are scalable structures. AWS billing goes brrrr...

    • @thomasp3428
      @thomasp3428 20 วันที่ผ่านมา

      @@MarcusTorres-zv5cv ok junior

  • @ijazkhan3335
    @ijazkhan3335 19 วันที่ผ่านมา +1

    Much better benchmark. Thing I like about Go is that you are mostly sure about your code scaling well the moment you write it.

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      true, it's easy to scale

  • @hazimdikenli
    @hazimdikenli 20 วันที่ผ่านมา +2

    Thank you:) I was going to ask for Deno and Bun versions, looks like I am not the only one.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      yes it is next

  • @artemcodes
    @artemcodes 8 วันที่ผ่านมา +1

    Very nice comparison, especially the part about the concurrency internals of the languages. The animations were fantastic as well! I was wondering, which tools did you use to make them?

  • @perc-ai
    @perc-ai 21 วันที่ผ่านมา +3

    Hey Anton I was the one that suggested to use the cluster module in the last video. Thanks for making another Node vs Golang and briefly discussing the cluster module and going in depth in kubernetes. I know you will be a very big youtuber because you listen to us in the comments thanks again man!

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      thank you!

  • @GabrielPozo
    @GabrielPozo 20 วันที่ผ่านมา +1

    Great about benchmark video like always!!! But this is even better with the explanation about CPU use in Kubernetes.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      thanks i tried :)

  • @Leo-qr1rq
    @Leo-qr1rq 21 วันที่ผ่านมา +26

    Let’s do elixir vs golang

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +4

      okay, it's already very close to the top of my list 😊

    • @chengjunxie5192
      @chengjunxie5192 17 วันที่ผ่านมา

      @@AntonPutravote for elixir as well. Thank you

  • @luca4479
    @luca4479 21 วันที่ผ่านมา +9

    Thanks! I knew from personal experience NodeJS is crazy fast for a scripting language. I’m seriously interested in seeing a runtime battle. Bun, Node, Deno, and there are some serverless runtimes too, but I guess the big three are the interesting ones.

    • @capfoo
      @capfoo 21 วันที่ผ่านมา

      +Workerd probably easy to containerize.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      Deno vs. Node.js vs Bun is next

  • @capfoo
    @capfoo 21 วันที่ผ่านมา +2

    Nodejs performance actually quite good, nice.

  • @moochalshrek6519
    @moochalshrek6519 20 วันที่ผ่านมา +3

    As someone who works in a small company where we deploy Python flask as a backend for internal development, I would love to see a Flask vs FastAPI vs GO (or Node), just to see what are the performance differneces at things beyond the scale that I'll probably ever see

    • @thelearningmachine_
      @thelearningmachine_ 20 วันที่ผ่านมา

      in a battle of snails, flask is synchronous. That means it accepts/process 1 request per time, this is a HUGE bottleneck while FastAPI is asynchronous by nature. You're have to deploy multiple webworkers to make flask "useful", but that cost compute resources. FastAPI = async def baby, concurrency to the roof. But in the end, python is single-threaded (GIL), so don't expect anything close to a full compiled /JIT language. Python is alone on his own league, of poor performance and speed.
      I suggest you to start changing from Flask to FastAPI, it needs very little change in the code, in 5 minutes you change everything just routes and request objects, and you'll gain a HUGE concurrency performance.

    • @moochalshrek6519
      @moochalshrek6519 19 วันที่ผ่านมา

      @@thelearningmachine_ Thats the fun part to watch the battle of the snails and see the actual bad performance. And I have been trying to migrate from Flask to Fast. But I'm currently the only dev in my company and they want more software/features churned out instead of improving our bottlenecks.
      I'd preferably rebuild everything in NodeJS or .NET

    • @moochalshrek6519
      @moochalshrek6519 19 วันที่ผ่านมา

      @@thelearningmachine_ Thats the fun part to watch the battle of the snails and see the actual bad performance. And I have been trying to migrate from Flask to Fast. But I'm currently the only dev in my company and they want more software/features churned out instead of improving our bottlenecks or hiring more devs. I'd preferably rebuild everything in NodeJS but that's a lot of time I currently do not have.

  • @EdwinMartin
    @EdwinMartin 21 วันที่ผ่านมา +1

    The differences are far less than I expected. JavaScript is pretty good! What I really like to see is the same benchmark, but using bun (and possibly Deno)

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      coming soon

  • @danielh6453
    @danielh6453 18 วันที่ผ่านมา +2

    Great series, really enjoy these. One point - In Kubernetes 1000m (1000 millicores) is 1 CPU core, not 1 CPU

    • @AntonPutra
      @AntonPutra  18 วันที่ผ่านมา +2

      1 CPU = 1000 millicores = 100% of 100ms which is default enforceable interval in cgroups

    • @danielh6453
      @danielh6453 17 วันที่ผ่านมา

      ChatGPT suggests it's actually a percent of 1 vCPU, which is one CPU thread or one core. I will read further. It's a cool demo either way. Got me reading more details than I expected

    • @danielh6453
      @danielh6453 9 วันที่ผ่านมา

      I did some more reading, and the limits are definitely in vCPUs, which are cores. In AWS, they state: "Each vCPU on Graviton-based Amazon EC2 instances is a core of AWS Graviton processor."
      Therefore, a m7g.large is 2 cores, or 2000 millicores, or 2 vCPUs. Azure is similar.
      Immensely enjoyed the journey of reading into the details. Thanks for providing such interesting demos like these

  • @Gruak7
    @Gruak7 21 วันที่ผ่านมา +2

    Now that was a fair run. Next I'd like to see the same but using frameworks for both. I'd pick hono for node and gin for go.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      i'll compare the most popular js frameworks and will do a final comparison with go😊

  • @boot-strapper
    @boot-strapper 21 วันที่ผ่านมา +3

    Thanks for the follow up. I think this really shows that JS is pretty good. Considering how easy it is to write and can still compete with something like go or Java is amazing

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      yes it pretty good, just be careful how you deploy it

  • @Baboi62182
    @Baboi62182 20 วันที่ผ่านมา +3

    Java vs C# vs Go with all the optimizations. That would be a good comparison. Maybe even default C# vs optimized C# just like this video's Go comparison.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      will do

  • @TheRanguna
    @TheRanguna 21 วันที่ผ่านมา +1

    Much better!
    Thank you very much for adjusting your setup

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      always trying to fix my mistakes

  • @EzequielRegaldo
    @EzequielRegaldo 21 วันที่ผ่านมา +1

    Thank you so much for your videos, i really appreciate your job! If you're using NodeJS i recommend using cluster mode for each 4 cpu cores, simply because libuv default config (i tried modifying this config and performs worse)

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      well, it's not the best option to deploy to kubernetes on a standalone VM, for sure

  • @farzadmf
    @farzadmf 21 วันที่ผ่านมา +1

    Very nice explanation about requests and limits

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      thank you!

  • @e2e23e
    @e2e23e 20 วันที่ผ่านมา +1

    Thanks for doing the part2 ❤

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      my pleasure! i'll do more node in the future including comparing cluster mode with horizontal scaling

  • @sam_8a
    @sam_8a 20 วันที่ผ่านมา +1

    Would love a video on how to do such benchmark with those graphs

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      i'll do it in the near future

  • @Requiem100500
    @Requiem100500 21 วันที่ผ่านมา +14

    the difference is not as big as I expected

    • @123mrfarid
      @123mrfarid 21 วันที่ผ่านมา +9

      True, but in real world, the difference would be much bigger with expanding complexity, libraries, frameworks, scalabilities, etc. I am mainly code in JS now but i know for sure that Go would destroy JS performance in most production cases since i have code in both language in comparable projects. Go also has a very fast framework (fiber) and overall higher quality libraries

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +4

      yes, and i haven't started comparing deno or bun with go yet 😊

    • @mrlectus
      @mrlectus 20 วันที่ผ่านมา

      @@AntonPutra yeah do bun next

  • @nonono9700
    @nonono9700 20 วันที่ผ่านมา +1

    Never thought it would be this close

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      yeap, i'll test more. i want to know how nodejs cluster mode compares with standalone

  • @AlexanderMoon
    @AlexanderMoon 21 วันที่ผ่านมา +1

    Amazing, as usual. Thank you!

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      thanks!😊

  • @federico7551
    @federico7551 21 วันที่ผ่านมา +5

    Great video! Can you please do something to improve Java application performance on K8s as well? Thanks!

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      yes, i'll come back to Java soon

    • @siraz6899
      @siraz6899 18 วันที่ผ่านมา

      Vote up for this

  • @whiletrue1-wb6xf
    @whiletrue1-wb6xf 4 วันที่ผ่านมา

    Great video! Could you share which monitoring application you're using to collect all those graphs?

  • @technovikingnik
    @technovikingnik 18 วันที่ผ่านมา +1

    Thank you sir, it was very well explained up to the point.

    • @AntonPutra
      @AntonPutra  16 วันที่ผ่านมา

      thank you!

  • @pawegraczyk6050
    @pawegraczyk6050 21 วันที่ผ่านมา +10

    Way better now...

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      yes thanks

  • @rocketbox9
    @rocketbox9 21 วันที่ผ่านมา +1

    I love Anton! Can you also do these same tests using a k8s ARM architecture? please

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      i did one in the past with graviton, and i'll definitely refresh it soon

  • @emersonmicu1683
    @emersonmicu1683 20 วันที่ผ่านมา +1

    Really cool videos, may I know the program you use for video animations?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      thanks! sure adobe suite

  • @mycode0
    @mycode0 21 วันที่ผ่านมา +6

    It will be interesting to see Elixir vs go lang

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +4

      will do

    • @mycode0
      @mycode0 20 วันที่ผ่านมา

      @@AntonPutra Thank you Anton,amazing videos learning a lot

  • @ZodakZach
    @ZodakZach 16 วันที่ผ่านมา

    These videos are awesome. Do you get a pretty high AWS bill from running these kinds of tests?

    • @AntonPutra
      @AntonPutra  16 วันที่ผ่านมา +1

      thanks! I need to set up an infra support fund 😊

  • @misalambasta
    @misalambasta 20 วันที่ผ่านมา +3

    As compare to last node vs go, in this node performed very close to golang.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      yes due to improvements

  • @zakimimit
    @zakimimit 21 วันที่ผ่านมา +1

    Thank you for this video and I hope you can do video of optimized Django,with ninja and celery or other optimization. My best regards

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      thanks! yes in the future I'll improve it

  • @miralirafiyev4646
    @miralirafiyev4646 19 วันที่ผ่านมา +3

    MongoDB vs Postgres ( or Mysql ) please.

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา +1

      i think it's much easier to scale mongo horizontally then postgres with read only replicas, but i'll see what i can do

  • @snatvb
    @snatvb 20 วันที่ผ่านมา +1

    this is so useful! thank you!

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      my pleasure!

  • @ggcc3261
    @ggcc3261 21 วันที่ผ่านมา +1

    First! Thanks for making these btw

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      my pleasure!

  • @ehfoss
    @ehfoss 20 วันที่ผ่านมา

    Anton, why is there CPU throttling when the CPU usage on Go: default and Go are not at the 1 CPU limit? Is the CPU plot not showing iowait or iosteal? Does `cpuset` do anything in a k8s env? When using raw hardware, using cpuset to avoid cross-socket traffic helps performance a great deal. If you're capping at 1cpu, then one may as well pin it to that core so it doesn't have to worry about floating to another core or socket.
    Thanks for the diligent videos!

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      I'll double check

  • @javohirmirzo
    @javohirmirzo 20 วันที่ผ่านมา +1

    great vid! how you pronounce availability is funny tho lol

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      thanks :)

  • @yannickpeter8607
    @yannickpeter8607 19 วันที่ผ่านมา +1

    What would be the effect if i do not set cpu limits at all?

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา +1

      You can get unpredictable throttling or performance penalties from neighboring containers that don't have resource limits and consume all available resources. These containers can not only starve other containers running on the same node, but more importantly, they can interfere with system components and make nodes unavailable.

  • @Александр-т9ф2ф
    @Александр-т9ф2ф 21 วันที่ผ่านมา +7

    Round 3 -> Nodejs(fastify) vs go

    • @skuwamy
      @skuwamy 21 วันที่ผ่านมา +1

      Yeah lets use Go Fiber so that these javascript devs get triggered again hahha.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      next, i'll do deno vs. node.js vs bun, then take the fastest and compare it with go 😊

  • @Kavantix
    @Kavantix 21 วันที่ผ่านมา +2

    Why did you run 2 replicas with gomaxprocs=1 instead of 1 replica with gomaxprocs=2 and 2000m limit?
    Your second test clearly shows that this has an impact on the performance of the go app.
    Also, now that you switched to 2 core machines why not remove the cpu limit entirely? We discussed before about starvation of system resources but with 2000m limit on a 2 core machine the same starvation can happen so there should not be a difference right?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      i get your point. i used gomaxprocs=1 and a 1 CPU limit just to have the same settings as for node.js. regarding the second question, in theory yes, but i haven't tested that scenario yet.

  • @alekc7292
    @alekc7292 21 วันที่ผ่านมา +1

    Why don't you add dashboards to the source code? Can you solve it? It might be interesting, maybe for reusing your tests

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      i have it here - github.com/antonputra/tutorials/tree/main/lessons/135
      i'm planing to create another tutorial on monitoring soon

  • @RogerGailland
    @RogerGailland วันที่ผ่านมา

    Can someone explain to me what Anton means when he says Go starts caching requests?!?

  • @r0nni34
    @r0nni34 21 วันที่ผ่านมา +1

    This had me wondering what would be the theoretical max limit a language can handle if given higher specs.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      well it depends how many threads they create and in general adapt to multi core processors but i'm sure there is a limit

  • @mj-lc9db
    @mj-lc9db 21 วันที่ผ่านมา +1

    Insane!

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      yeah i know 😊

  • @Mylordkaz
    @Mylordkaz 18 วันที่ผ่านมา

    thank you, nice video.
    I would like to benchmark my own projects, do you have a video that explain how to setups basics benchmark ? that would be great thx you

    • @AntonPutra
      @AntonPutra  15 วันที่ผ่านมา

      not yet but i'll create one soon

  • @def-any
    @def-any 21 วันที่ผ่านมา +7

    Go vs Bun please!!!

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      yes, but deno vs. node.js vs bun is next, then with go

    • @def-any
      @def-any 20 วันที่ผ่านมา

      @@AntonPutra ty!

  • @charithlakshan8382
    @charithlakshan8382 15 วันที่ผ่านมา

    What is that monitoring setup ?? dashboard looking clean.

    • @AntonPutra
      @AntonPutra  15 วันที่ผ่านมา

      thanks, i use prometheus + grafana, basic staff

  • @kamurashev
    @kamurashev 20 วันที่ผ่านมา +2

    So I was right saying it was cause it's single threaded.
    Ps you tried so hard to make go look good enough compared with js. 🙂
    I appreciate what you are doing, it's super cool content!
    Being a java dev I'd really like to see how best of each language setups compare. I mean like eg combining best go, rust, js, java for instance.
    One more time - it’s super cool what you’re doing!

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      thanks 🙂

  • @rafael.aloizio1769
    @rafael.aloizio1769 20 วันที่ผ่านมา +1

    For those who knows your Chanel very well, it's useless to blur the screen on the beginning of the benchmark videos 😂😂😂 we all know that the blue line is for go lang, what surprises me most, is node not being a green line 😂😂😂😂😂

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา +1

      i'll start picking random colors thanks for the tip 😊

  • @bo_leang
    @bo_leang 20 วันที่ผ่านมา

    I am interested in your explanation on this video. What animation did you use for your video?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      adobe suite

  • @katungiyassin9947
    @katungiyassin9947 16 วันที่ผ่านมา +1

    Hope you do Erlang vs Zig vs Rust

    • @AntonPutra
      @AntonPutra  16 วันที่ผ่านมา

      ok noted!

  • @TheCreepyMoto
    @TheCreepyMoto 21 วันที่ผ่านมา +2

    Ever going to see Bun , Deno vs something ?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      yes, it's next for sure: deno vs. node.js vs bun. i just need to fix the mistakes before moving on to the next one

  • @pintokatendejonathan1740
    @pintokatendejonathan1740 19 วันที่ผ่านมา

    Thank you for your content
    Can you do the same for Django vs FastApi vs Flask

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      yes, i'll cover python frameworks more in near soon

  • @siddharthd6141
    @siddharthd6141 20 วันที่ผ่านมา +2

    please compare CROW (C++) vs Java or GO ??? pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      will do! but next Deno vs. Node.js vs Bun

  • @wahidfeb
    @wahidfeb 20 วันที่ผ่านมา +2

    can we get laravel benchmark?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      yes a maybe one or more for js and then php

    • @wahidfeb
      @wahidfeb 20 วันที่ผ่านมา

      @@AntonPutra thank you

  • @ivan.jeremic
    @ivan.jeremic 20 วันที่ผ่านมา

    I'm no benchmark pro but for it to be fair shouldn't you enable Worker Threads in Node?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      if you want to deploy it on standalone server or VM you would create as many workers as you have cores but in K8s just scale horizontaly

  • @ivanarsenev4474
    @ivanarsenev4474 20 วันที่ผ่านมา +1

    Could you compare cloudflare workers with hono vs go aws lambda?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      ok, i'll see what i can do

    • @ivanarsenev4474
      @ivanarsenev4474 13 วันที่ผ่านมา

      @@AntonPutra Thank you, your channel one of the best things that I checking in moring in my subscriptions.

  • @j.r.r.tolkien8724
    @j.r.r.tolkien8724 20 วันที่ผ่านมา +1

    Thank you.

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      my pleasure, bun is next

  • @belkocik
    @belkocik 21 วันที่ผ่านมา +3

    Are you going to test nodejs with fastify (with pm2 load balancer with max 3 cores config?) vs go?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      well maybe i'll do fastify, next Deno vs. Node.js vs Bun

    • @belkocik
      @belkocik 20 วันที่ผ่านมา

      @@AntonPutraNice! Would love to see how fastify performs with load balancer vs go std.

  • @THE_NE0
    @THE_NE0 21 วันที่ผ่านมา +3

    Still waiting for the .NET part 2 :(

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      I'll definitely come back to it and improve in near future

  • @mehrdad-ai
    @mehrdad-ai 21 วันที่ผ่านมา +2

    Please compare bun vs go va rust

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      close :) next Deno vs. Node.js vs Bun

    • @skuwamy
      @skuwamy 20 วันที่ผ่านมา

      wait bun vs go vs rust? huh?

    • @mehrdad-ai
      @mehrdad-ai 20 วันที่ผ่านมา

      @@skuwamy bun is written in rust

  • @elvispalace
    @elvispalace 21 วันที่ผ่านมา +4

    compare two technologies is really hard because you need to understand deeply how they work. you did better now going more deeper how nodejs works and it's fair to say that go has a wonderful resources management

    • @skuwamy
      @skuwamy 21 วันที่ผ่านมา

      bro is javascript one of the easiest language to learn lol.

    • @conundrum2u
      @conundrum2u 21 วันที่ผ่านมา +6

      he's not talking about the language, he's referring to the underlying runtime and architectural considerations ​@@skuwamy

    • @elvispalace
      @elvispalace 21 วันที่ผ่านมา

      ​@@skuwamy you just need to learn the sintaxe to create scalable application, understood

    • @EdwinMartin
      @EdwinMartin 21 วันที่ผ่านมา

      @@elvispalaceit’s not about syntax

    • @habibosaye
      @habibosaye 21 วันที่ผ่านมา

      @@EdwinMartin lol, I think he is being sarcastic 😅 Wait…?

  • @mehedirifat9072
    @mehedirifat9072 20 วันที่ผ่านมา

    Please do a video on SurrealDB vs PostgreSQL

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      ok noted

  • @forKotlinsky
    @forKotlinsky 20 วันที่ผ่านมา +1

    hi. what about python and php?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      will do soon

  • @MrDejvidkit
    @MrDejvidkit 20 วันที่ผ่านมา

    Can you compare the GoLang and Scala web framworks like ZIO Http?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      yes i'll do scala in the future

  • @gneryze
    @gneryze 20 วันที่ผ่านมา

    i try to replicate your grafana histogram but i failed, do you mind to share the json of it?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      sure - github.com/antonputra/tutorials/tree/main/lessons/135

  • @rayhu_dev
    @rayhu_dev 20 วันที่ผ่านมา

    Nice man, could you please also create .NET vs Java benchmark.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      sure in the future

    • @rayhu_dev
      @rayhu_dev 20 วันที่ผ่านมา

      @@AntonPutra appreciate

  • @70sHindiSongs
    @70sHindiSongs วันที่ผ่านมา

    Can you do bun vs go please ?

  • @WiseWeeabo
    @WiseWeeabo 21 วันที่ผ่านมา +2

    Now do Node vs Rust so we can really blow them out the water xD

    • @a0flj0
      @a0flj0 21 วันที่ผ่านมา +1

      Rust will obviously be even better, since Anton already did a similar test of Rust vs Go, and Rust was decisively better than Go. But, as someone already mentioned above, for a very large number of applications node is good enough, i.e. you don't get enough runtime savings from using a compiled, statically typed language that generates more efficient binaries to justify the higher development time costs. Node has a very well carved out niche in which it is pretty much the best choice, and unlikely to be replaced by anything in the foreseeable future.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      i'll do a comparison with rust, but probably with bun

    • @WiseWeeabo
      @WiseWeeabo 20 วันที่ผ่านมา

      @@AntonPutra The reason I make the comment is that I think Node (and Java, and C#) are in the realm of companies that are looking at Rust and C++ (because C23) because it has a potential "very large" benefit that may be too big to ignore in light of the fact where the trade-off used to be much greater before Rust and in older versions of C++ that were not modern enough for a modern workforce and a modern codebase and architecture, but now is much more relevant.

  • @enzodossantos2546
    @enzodossantos2546 18 วันที่ผ่านมา

    i would like to see Laravel vs Node vs Golang :)

    • @AntonPutra
      @AntonPutra  16 วันที่ผ่านมา +1

      i'll do some php soon

  • @Maric18
    @Maric18 21 วันที่ผ่านมา

    the explanation of milicores kind of ... looped? it felt like it was explaining the same concept 3 different ways

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      well, maybe i tried to give as many examples as possible

    • @Maric18
      @Maric18 20 วันที่ผ่านมา

      @@AntonPutra true :D and you should never listen to a single youtube commenter :D but just in case you get that feedback from multiple sources, that might be something to improve.
      This far, its just "at least one person thinks this could have more concise" :D

  • @ghostvar
    @ghostvar 20 วันที่ผ่านมา +1

    no one mentioned ruby or ruby on rails

  • @guoard
    @guoard 20 วันที่ผ่านมา +1

    Perfect..

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      thanks!

  • @AlexKubrinsky
    @AlexKubrinsky 20 วันที่ผ่านมา

    Where I can find a client code/config? Thanks!!

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      i need to refactor it and i'll make it public

  • @RavenXplod
    @RavenXplod 21 วันที่ผ่านมา +2

    Bun(Hono) vs Go...... Please

    • @roccociccone597
      @roccociccone597 21 วันที่ผ่านมา

      Go is faster. That's about it

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา +1

      deno vs. node.js vs bun is next, then i'll compare it with go

    • @RavenXplod
      @RavenXplod 20 วันที่ผ่านมา

      @@roccociccone597 its not that its faster......the question is how faster....if the difference is small then there is no need to learn Go or new technology and stick to JS and optimise in other parts of the application

  • @damirca
    @damirca 3 วันที่ผ่านมา

    Please do rails vs phoenix

  • @rankala
    @rankala 21 วันที่ผ่านมา +1

    elixir would be interesting 🙂

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      i'll do it in near future

  • @kostan3v
    @kostan3v 20 วันที่ผ่านมา +1

    Let's see how Dart (with Shelf) competes

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      ok noted

  • @polrk
    @polrk 21 วันที่ผ่านมา

    Which nodejs version do u use?

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      just updated the video description - node.js (22.9) vs go (1.23.1) performance comparison

  • @geraldofebrian7119
    @geraldofebrian7119 20 วันที่ผ่านมา +1

    Php vs php concurrent vs go please

  • @SidharthKaushik
    @SidharthKaushik 21 วันที่ผ่านมา +1

    Please do a node js vs rust

    • @a0flj0
      @a0flj0 21 วันที่ผ่านมา +1

      He did a comparison of Rust and Go, similar to this one, after he got feedback on an initial version. Rust came out on top of Go both times in absolutely every metric. Not by an astronomic amount, but, IIRC, by somewhat more than Go is better than node in this comparison. Which translates to Rust being better than node by an even larger margin than Go is.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      yeah, in the future, but probably not node. instead, deno or bun vs rust

  • @manoelhc
    @manoelhc 20 วันที่ผ่านมา +1

    deno vs go please

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      ok, testing bun right now

  • @gahshunker
    @gahshunker 20 วันที่ผ่านมา +2

    The blurring on the first few minutes is irrelevant. We can figure which one is go and nodejs by line color and character lenghta 😂

  • @iceben97
    @iceben97 10 วันที่ผ่านมา +1

    Go vs Encore.ts pleaseeeee

  • @ivankudryavcev2675
    @ivankudryavcev2675 20 วันที่ผ่านมา +2

    fastapi vs go

  • @roccociccone597
    @roccociccone597 21 วันที่ผ่านมา +18

    the number of triggered JS people here is quite funny. If we constantly say he didn't do it right, I can say use go fiber and literally destroy JS once and for all.

    • @spicynoodle7419
      @spicynoodle7419 21 วันที่ผ่านมา +4

      Go fiber goes brrrrtt

    • @roccociccone597
      @roccociccone597 21 วันที่ผ่านมา +2

      @@spicynoodle7419 indeed, though I prefer the libraries built on stdlib as they're more than fast enough and have better compatibility. But if you need raw speed fiber is awesome.

    • @OldKing11100
      @OldKing11100 21 วันที่ผ่านมา

      @@spicynoodle7419 You should see how crazy Fiber-Prefork is in multicore systems.

    • @ada0015
      @ada0015 20 วันที่ผ่านมา

      I only have experience with gin. I know fiber is superior, but is the syntax similar? I want to migrate if it is

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      😂

  • @tinydev2683
    @tinydev2683 19 วันที่ผ่านมา

    Gleam vs Rust vs GO pls u should test it 🙏

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      noted!

  • @cbk620
    @cbk620 6 วันที่ผ่านมา

    Pls C++builder Vs c# and c++builder Vs visuall c++

  • @errores-me6yu
    @errores-me6yu 19 วันที่ผ่านมา +2

    я понимаю что это очень специфично, но если есть возможность, можешь, пожалуйста, протестировать php swoole, это расширение, которое меняет работу php

    • @errores-me6yu
      @errores-me6yu 19 วันที่ผ่านมา

      по идее можно laravel octane + swoole

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา +3

      da obyazatelno sdelay swoole skoro

  • @Maks-fc7kv
    @Maks-fc7kv 20 วันที่ผ่านมา

    Funny to observe people still think Bun is really Node killer and really faster & better 😁
    ( one more killer, oh no 😁)
    Like, uWebSocket used by Bun faster than Rust Actix Web, so the comparison with NodeJS related on req/res for sure will be faster lol,
    but at the same time checking if string starts with some specific substring was ~14 times slower vs NodeJS.
    Checkmate.

    • @Maks-fc7kv
      @Maks-fc7kv 20 วันที่ผ่านมา

      Just take a look at the amount of Bun devs/community and think how much time do they need to fix all the problems/bugs they have, to deliver everything NodeJS has today.
      I guess lots.

    • @AntonPutra
      @AntonPutra  20 วันที่ผ่านมา

      testing bun right now

  • @serge8085
    @serge8085 20 วันที่ผ่านมา

    PHP vs Node or Go :)

    • @AntonPutra
      @AntonPutra  19 วันที่ผ่านมา

      ok soon :)