Hi coders 👋. Hope you're all enjoying the series. Question: Which performance benchmarking tool do you use and or recommend? Cheers 😎
@MrTejomay3 жыл бұрын
Looking for the next videos in 2021 brother.
@markmiller85713 жыл бұрын
These Node JS Performance Optimizations videos are a real hidden gem. You deserve more views! Keep up the amazing work.
@BleedingCode3 жыл бұрын
Awesome Mark thanks for the great feedback. A video on Multithreading on its way soon 💪.
@sachinjaveri14 жыл бұрын
Man how are you now famous...Thank you very much for the information. Very few do that.
@BleedingCode4 жыл бұрын
Hi Sachin. Thank you for the awesome comment. It's really appreciated 🙏
@MrTejomay3 жыл бұрын
Awesome video. waiting for your next video.
@BleedingCode3 жыл бұрын
Glad you enjoyed it. Have you seen my other videos on Node JS Performance Practices? 🙂
@vladimirsapozhnikov58423 жыл бұрын
I suggest the way how to increase a performance test quality - spin up a dedicated virtual machine (in some cloud) for your application (or spin up a dedicated stress-testing environment for your project, intended to be used only for the performance-tests), and a dedicated virtual machine (probably, more powerful) for the autocannon. By doing so your application will not be affected by the autocannon itself, and your testing condition will be 100% predictable. Well, not 100% predictable if you use Virtual machines, your results might depend on Virtualization and underlying host machine utilization. So, I suggest (and most of the time it is not cheap, unfortunately), spin up the dedicated server. One caveat to mention - your cloud provider might think that your performance tests is a DoS attack. In some situations, it is better to notify your hosting provider in advance about the traffic and purpose.
@BleedingCode3 жыл бұрын
Great tip thanks Vladimir 👍
@chiu-minglam630 Жыл бұрын
Hi - I would like to know why did you need to create the server with http instead using the express app as is? as in invoke the listen method on the express and not on http.
@BleedingCode Жыл бұрын
I went the route that most people would be familiar with.
@vinaygupta76753 жыл бұрын
Hi is there a way to do a performance test of a CPU extensive node app. The app is cluster app with child_process and worker thread with lot of blocking code.
@BleedingCode2 жыл бұрын
Hi Vinay. If I understand your question correctly, the best would be to expose the cluster app via an endpoint and use AutoCannon as I did? Maybe I'm not understanding your requirement :)
@yonacoh4 жыл бұрын
great videos man
@BleedingCode4 жыл бұрын
Awesome thanks Yonatan 🙏
@prabhusoft3 жыл бұрын
Excellent!!
@BleedingCode3 жыл бұрын
Thank you Prabhu 🙏🙂
@harishrn19932 жыл бұрын
whats your pc configuration? @bleeding code?
@BleedingCode2 жыл бұрын
Hi Harish. I run a MacBook Air (M1, 2020) with 8GB RAM
@ArshRadhanpura4 ай бұрын
can we do this inside the docker container that runs the nodejs application so that we can do this in an isolated environment?
@boot-strapper4 жыл бұрын
How to improve performance: Ditch express and use fastify
@BleedingCode4 жыл бұрын
Yes that's definitely a good path to go and will be a video on its own in the near future. Thanks for watching 🙏
@aben7810 Жыл бұрын
just benchmark outside of your process, VM, LAN and do the real benchmark using clients over the internet. you'll find you are practically doing the same thing with express, Fastify or even php
@boot-strapper Жыл бұрын
@@aben7810 the implementation of the thing does matter
@Aphixx2 жыл бұрын
Protip: Don't log 404s unless you want a really easy way to DDoS your server/overload IO/fill your disk with logs.
@BleedingCode2 жыл бұрын
Thanks for the tip 👍
@sachin__ak3 жыл бұрын
You are underrated, lots of good information in your videos, please don't stop making videos like this. but fastify is becoming a better alternative for express. not many good videos are out there, even matteo(founder of fastify) tweeted last week that there aren't enough videos on fastify, which is the root cause of it not growing, as most developers prefer videos. why don't you make videos on fastify?
@BleedingCode3 жыл бұрын
Hi Sachin. Thank you for watching and thanks for this awesome feedback. Yes Fastify is definitely on my list...The only reason I use Express is because currently most of my client environments run Express, and I want my tutorials on performance to be factual based on production environments and stability. We are slowly moving towards Nest/Fastify and as such will be able to benchmark performance accordingly and from that, I can throw out some content, good or bad 😎.