Go vs. Node.js (AWS Lambda) performance benchmark (2023)

Go vs. Node.js (AWS Lambda) performance benchmark (2023)

Anton Putra

1 год назад

46,113 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Anton Putra
Anton Putra - 18.09.2023 09:49

🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting ([email protected])

Ответить
Mahmudul Hasan
Mahmudul Hasan - 04.10.2023 09:26

I think this experimentation demonstrate how fast nodejs platform vs golang binary gets executed in lambda, or may be how fast the corresponding runtime gets loaded; because, both downloading file and saving to DB is IO operation.

To be fair, you also need to add some comparison of CPU load, say math, data processing, etc ops performance comparison as well to get he full picture.

Ответить
Damjan
Damjan - 18.09.2023 10:43

guys you need to take care that Nodejs scales better on cloud functions then go lang! Go lang has much longer cold start then nodejs. We run 20k req/s and nodejs was cheaper at the end

Ответить
Vladimir Mishin
Vladimir Mishin - 07.06.2023 05:00

Great aws lambda performance research. Would interesting to compare just calculation perfprmance

Ответить
omr theater
omr theater - 17.02.2023 20:31

Why exactly is Go faster here? Because I know that NodeJS is actually significantly faster at some types of code (due to JIT).

Ответить
Brevan H
Brevan H - 15.02.2023 01:29

Total time's where within a second of each other though?

Ответить
Yogesh Dharya
Yogesh Dharya - 07.01.2023 19:17

Had been learning express JS and i still don't want to say this but , Go rocks !

Ответить
Sean Knowles
Sean Knowles - 27.12.2022 15:02

Better to test Bun or Deno against Golang as Node is inferior in the JS world now.

Ответить
@oqbuxe
@oqbuxe - 19.11.2022 00:18

u from russia, dude?)
your wery cleary pronuorce words, is a good for me

really, i can understand your speak, but i from russia
btw, this message i writed nearly without transaltor

maybe my english language lvl upped..

maybe this messages contain errors, i not good know this lang

Ответить
Jorge Franco
Jorge Franco - 04.10.2022 16:04

@Anton Putra could you do a Go vs c# aws Lambda ?

Ответить
0ops
0ops - 30.09.2022 17:41

GraalVM?

Ответить
Annu Singh
Annu Singh - 29.09.2022 09:21

Love your videos and how you don't type live and only explain what's essential. Thanks 💯

Ответить
cyber
cyber - 27.09.2022 03:44

лэт ми сэй фром май харт сэнькЪ ю фор зис интерестинг видео 🤡

Ответить
Shadow Fiend
Shadow Fiend - 26.09.2022 16:17

Поработай над акцентом. Русский акцент хуже индусского.

Ответить
Mahmudul hasan
Mahmudul hasan - 23.09.2022 06:04

Could you please test java and PHP also?

Ответить
fiords
fiords - 21.09.2022 10:51

Thanks, cool comparison. But I would compare 99 percentile. And the difference a bit less - 22%. Sure that Go is much faster, but a lot of time both routines are slowed by IO operations

Ответить
Max Coplan
Max Coplan - 21.09.2022 08:37

Nice video. Given the intro, I was hoping this video would actually run these for a while and compare the real AWS costs of each. Then end the video with how much money/day is actually saved

Ответить
Adwait Mathkari
Adwait Mathkari - 18.09.2022 21:31

It seems that you are using the full aws sdk for node js which is like a 75 mbs library. This can be tried by using the latest aws sdk which allows using only the packages for S3 and Dynamodb. Although, I am not fully sure if reducing this size will have a as great impact on the performance since the lambda containers will be reused for many requests.

Ответить
Ziaul Hasan Hamim
Ziaul Hasan Hamim - 16.09.2022 07:46

One video on Node vs C#.

Ответить
Haters Budiman
Haters Budiman - 15.09.2022 14:55

Please php vs nodejs

Ответить
Burhan Wani
Burhan Wani - 13.09.2022 17:32

Do more such comparison videos with Node and Go with different use cases
Much appreciated

Ответить
CRISTIAN YAMID PEREZ GRANDA
CRISTIAN YAMID PEREZ GRANDA - 13.09.2022 07:21

Thanks, please compare rust and go

Ответить
Ezequiel Regaldo
Ezequiel Regaldo - 12.09.2022 17:46

I think what go is a waste of time, i prefer learn Rust instead, more performance, same ugly sintax and more use cases. No one will save my time for me

Ответить
Carlos M.
Carlos M. - 12.09.2022 13:28

The Go code would have been much faster if you would have implemented the downloadImage function as a gorutine. Correct me if I am wrong thou.

Ответить
Luan Maik
Luan Maik - 11.09.2022 16:46

What about Java Quarkus ?

Ответить
Shahar Luftig
Shahar Luftig - 11.09.2022 10:36

var?!

Ответить
Pavlo Iatsiuk
Pavlo Iatsiuk - 11.09.2022 10:26

I know that majority of people never considered C# as a real competitor for nodejs/go/python in lambdas but I have to say that today it worth to try. In .Net 6 there is ahead of time compilation and it helps to solve cold start issue. According to the my test it is on the same level as nodejs with 2Gb of RAM. But C# project is much easier to develop and support in the long terms.

Ответить
Pablo Gutierrez
Pablo Gutierrez - 11.09.2022 02:32

Great video!! So real!!

Ответить
Ruy Vieira
Ruy Vieira - 10.09.2022 22:22

Not by a wide margin, considering go is compiled.

Ответить
Filipe Andrade
Filipe Andrade - 10.09.2022 19:58

Straight to the point! Thank you!!

Ответить
Viral vlogs
Viral vlogs - 09.09.2022 21:40

Go is a great language for back end

Ответить
KwangHo Bae
KwangHo Bae - 09.09.2022 20:29

Good comparison video! Just wondered, Is there any reason to change regacy node app to go language application??

Ответить
Matthew Stibbard
Matthew Stibbard - 09.09.2022 09:41

Does this also reflect cold start time?

Ответить
Tenta Klaus
Tenta Klaus - 09.09.2022 02:22

In AWS lambda downloads you

Ответить
BlackZero Rs
BlackZero Rs - 09.09.2022 00:44

Test Bun vs Go... :-)

Ответить
Paul Zietsman
Paul Zietsman - 08.09.2022 23:20

Would be interesting to test with the modular v3 node sdk, should reduce startup by a bit.

Ответить
Sushrit Pasupuleti
Sushrit Pasupuleti - 08.09.2022 16:36

Quick and to the point! Thanks!

Ответить
Gabriel Pinho
Gabriel Pinho - 08.09.2022 01:28

NPM, which stands for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager, with NPM standing for NPM Package Manager...

Ответить
Agustín Díaz
Agustín Díaz - 06.09.2022 19:24

Nice video Anton! Do you think AWS Lambda runtime has a big impact here? I mean, would we be able to infer this results doing the same benchmarks locally?

Ответить
vagif gafar
vagif gafar - 06.09.2022 14:57

Thank you, Anton. Is there any chance to add python for comparison?

Ответить