Get 1 on 1 mentorship with me! ▶▶▶
In this video I demonstrate how to use worker treads to unblock and speed up your node applications
Get 1 on 1 mentorship with me! ▶▶▶
In this video I demonstrate how to use worker treads to unblock and speed up your node applications
Amazing example. very sorted and easy. Thanks and love from India
Well thanks, i Will try this today. Just curious about what happens when you Open several Windows causing going out of threads in your system
Perfect example, perfect explanation & presentation. Thanks for this video!
okay, understood
great video – helped my solve a problem – thanks Chaim!
Thank you very much! This was exacly what I was looking for. 🙂
awesome video, well presented and explained
can we define the pool size for this ?
This was great. After spending some time going through various tutorials, I found some that had typos in the code, others where the demo was filled with very complex js, and yours was simple and to the point.
Andrew Tate now teaches programming
Thanks Chaim. This was very helpful.
it's ilegal bruh :"
Someone at my job gave me this exact explanation, excellent content
Are worker threads able to do the same requests as the main thread?
I'm aggregating 5.2M documents on Mongodb. It's no problem aggregating on the main thread but it's taking for ever on the worker thread..?
Question on cleanup – when working with a singular worker instance to we want to be instantiating a new worker for every call to that url? Is it a better practice to reuse them?
wow a jewish youtuber, thats rare, as rare as seeing a rainbow.
not trying to be mean or anything just abit surprised, thats all, im jewish too so the more the better.
Hello bytheway Chaim, really great english too, without any hebrew accent as well.
thanks for the video, i'v found about worker threads through google ofc, while searching for cool things about nodejs.
didn't quite understand how to use them so i got here, very well explain and articulated. i'll save for future reference.
thank you very helpful
Hi chaim ! It was a nice explanation, but one thing i want to know about, if we make a worker thread then after it's process , will it not be an orphan task, so have we kill that child_process or not after completion?
That's a great explanation! Thank you. 💯
is there a way for the worker to run local function instead of another script?
I've always known I needed to know Workers but am always so overwhelmed with how complicated it seemed thanks for making me understand this better
Beautiful explanation, thank you.
Should we always use worker thread instead of fork method of child process?
Straight to the point. Great.
One of the most interesting and very beautifully explained topic.
Thank you very much.
While the explanation on how to use worker's is good,the example is really really bad.
If this is an Endpoint that is exposed to the client, there will be potentially hundreds of thousands of requests to that endpoint, so the node application will spawn that numbers of new threads with it's corresponding node instances, event loops etc, which is a nightmare in terms of performance.
So keep that in mind..use workers for heavy duty, yes, but not if it will be requested an inmensurable number of times
Chaim, thank you so much for the video. Your explanation is clear and awesome
Can't believe how clean is this explanation. Thank you sir.
Wonderful explanation!!!! Thank You!
Thanks you very much!
Question, can I pass just a function inside the worker threads,
or does it really need to be a file ?
Simple and crisp, thanks
brilliant, very good example!
Great content! Thank you!!! 😀
Great video man thanks a lot 🙏🏻💯 I run some bots written in JS, would this make them faster?
Wonderful explanation!!!! Thank You!
Thank you very much! More videos on the node! 🙂
🔥🔥🔥
If im running the exact same app not locally but on GCP Cloud Run, would it still hang? I assumed each request spun up a new instance of your app thua nullifying any thread issues from the heavy endpoint.
Thanks you, very clear explanation 👍