Пікірлер
@ArshRadhanpura
@ArshRadhanpura 12 күн бұрын
can we do this inside the docker container that runs the nodejs application so that we can do this in an isolated environment?
@gerooq
@gerooq Ай бұрын
Isn't that first tip very misleading? Running expensive JS inside or outside any of these queues is equally as slow isn't it? Since the expensive code itself will be run synchronously? Maybe you mean use them to run tasks iteratively instead of something like a while loop. That would make sense as that would not starve the event loop.
@KavyaThota-jg1gj
@KavyaThota-jg1gj Ай бұрын
great video
@KavyaThota-jg1gj
@KavyaThota-jg1gj Ай бұрын
well explained
@wiemrachman4788
@wiemrachman4788 2 ай бұрын
Wow perfect , thank yo very much
@rb3198
@rb3198 2 ай бұрын
THE best video on the Event loop. Thank you so much!
@Mason4PM
@Mason4PM 3 ай бұрын
The coin is wank😂😂😂😂
@snoblik69
@snoblik69 4 ай бұрын
Hi, very well explained, thank you! I have a question about the v8-pool-size=num parameter. When it is good to increase the value of UV_THREADPOOL_SIZE according to the number of logical cores, what value should the parameter V8-POOL-SIZE be? Thanks in advance for the recommendation. I can't find a relevant, factually supported comment on this anywhere on the internet.
@adinaanderson1691
@adinaanderson1691 5 ай бұрын
Amazing video...thank you so much
@kaael1153
@kaael1153 5 ай бұрын
lol how i am seen that just now kakakak
@aminazgol3918
@aminazgol3918 6 ай бұрын
does dynamic configuration work as intended on a docker image?
@BleedingCode
@BleedingCode 5 ай бұрын
Yes it does. I use docker containers for most of my NodeJS Apps 👍.
@aminazgol3918
@aminazgol3918 6 ай бұрын
wonderful, very clean easy, and well-structured explanation. thank you sir
@BleedingCode
@BleedingCode 5 ай бұрын
Glad it was helpful :)
@Pareshbpatel
@Pareshbpatel 6 ай бұрын
An excellent introduction to managing multiple threads in Node JS using Worker Pool. Thanks. Subscribed! {2024-01-15}, {2024-01-23}
@BleedingCode
@BleedingCode 5 ай бұрын
Awesome. I'm glad you enjoyed it :)
@alkaifkhan-mx3uy
@alkaifkhan-mx3uy 6 ай бұрын
Thankyou So much Brother I Appreciate your time and efforts
@BleedingCode
@BleedingCode 5 ай бұрын
It's my pleasure :)
@LaurentTercinet
@LaurentTercinet 7 ай бұрын
this is brillant, dynamic, well explainned.
@BleedingCode
@BleedingCode 5 ай бұрын
Really glad you enjoyed it 👏
@YounesKeraressi
@YounesKeraressi 7 ай бұрын
Thank you so much for the tips and for your time for sharing
@BleedingCode
@BleedingCode 5 ай бұрын
You are so welcome 🙂
@becbelk
@becbelk 7 ай бұрын
. your video is one of the fewer very interesting. cuz it deep dive in hardware...
@BleedingCode
@BleedingCode 5 ай бұрын
I'm really glad it added value 👏
@tomas111video
@tomas111video 8 ай бұрын
Good video, interesting, can you display pictures as easily and simply?
@BleedingCode
@BleedingCode 5 ай бұрын
Thank you. Yes you can, as you can output HTML, of which most of the rules apply 👍.
@ebneterc
@ebneterc 9 ай бұрын
Very neat and clear. I watched because I am trying to get a Oauth process working to link my Netatmo devices into my free@home smart building. Do you have a tip where I could learn that?
@BleedingCode
@BleedingCode 5 ай бұрын
Thank you. Hmmm, off the bat, I would just suggest finding an OAth Node-RED Node. Do you need OAuth1 or 2?
@grijjly6091
@grijjly6091 11 ай бұрын
how can you dare use workerpool package ? , it is fully overhead when functions and parameters sending worker via stringified ? just create your own worker init functions there, just send parameters and wait for message, this video series about optimization, this is disgusting
@BleedingCode
@BleedingCode 5 ай бұрын
Thanks for your honest feedback.
@grijjly6091
@grijjly6091 11 ай бұрын
i wanna say something here, if your server doing io things instead high cpu jobs, you can set threadpool size something 256-512-1024, its because reading or writing file is blocking operation and not cpu insentetive which mean , you can handle more client but context change overhead which is ignorable for file operations
@dereksavage7569
@dereksavage7569 11 ай бұрын
Promo_SM 🎊
@BleedingCode
@BleedingCode 11 ай бұрын
Thanks for the comment. Promotion was not intended, other than to gain more viewership to my channel. But I will keep this in mind for future videos.
@idasilfverskiold9685
@idasilfverskiold9685 11 ай бұрын
Hey there! New to Node-RED, so how easy is it to work with npm packages? Looking specifically for FlowForge as well.
@BleedingCode
@BleedingCode 11 ай бұрын
Hi there. It's relatively straightforward, but it also depends on how your Node-RED Server is set up. If it's in a stateless container, then you might have issues dynamically requiring modules. That being said, the recent releases of Node-RED (V2 and up), simplify this quite aggressively.
@idasilfverskiold9685
@idasilfverskiold9685 11 ай бұрын
Thanks!@@BleedingCode Could you give help me navigate to some reading material on this?
@quoit99training83
@quoit99training83 Жыл бұрын
How to install node-red on computer with no internet? I am making a dashboard on public school computer which is not allowed to be connected to interest. They mostly use it for databases and I would like to install node-red, and other nodes such as MySQL - pls advise on how to get node-red offline, is there portable install files?
@BleedingCode
@BleedingCode 5 ай бұрын
Sorry for the late reply on this. Did you come right?
@quoit99training83
@quoit99training83 5 ай бұрын
@@BleedingCode no problem. I could not install node-red on the school computer as it was restricted. We tried raspberry pi, installed node-red but it was not pulling from SQL Express. The school uses MS SQL Express (freeware) and the node I was trying to pull data for dashboard node-red-contrib-mssql. The school ended up going with paid services for dashboard and other stuff. Think node-red still has ways to go to be useful in government sectors. When I tried to get school IT involved to install node-red, it was denied due to cybersecurity concerns
@kuhaniresti
@kuhaniresti Жыл бұрын
is there any events that we can subscribe to the phases mentioned?
@BleedingCode
@BleedingCode 5 ай бұрын
Sorry for the late reply. Off the bat I'm not sure, but I need to update these tutorials and will keep this in mind.
@craigmurrayauthor
@craigmurrayauthor Жыл бұрын
You obviously are an expert. How this video felt Good morning class, today we are going to talk about the basics of flight So Get into your F16, and lets take off. this is a cool project but by no means should it be considered a first flow
@luqmanmohioddin6076
@luqmanmohioddin6076 Жыл бұрын
Hi, I'm Getting this error TypeError: Cannot read properties of undefined (reading 'max') - "Dubai"
@BleedingCode
@BleedingCode Жыл бұрын
Hi there. I created this video many moons ago and can't remember most of what's in it. I will need more context, but for now, somewhere the "max" property is being referenced, but the object it belongs to is undefined.
@nicoflaig6749
@nicoflaig6749 Жыл бұрын
Regarding point 5. at the end of the video, to prioritize polling phase, is it best to just use setImmediate()? I have seen setTimeout(0) being used for that but doesn't that mean we might go straight back to executing the callback without getting to polling phase?
@BleedingCode
@BleedingCode Жыл бұрын
Yes setImmediate() is better if you want to execute the logic the moment the loop reaches the next iteration. Most people use setTimeout() either because they want to wait x milliseconds before the code executes, or because they don't realise that setImmediate() is an option.
@nicoflaig6749
@nicoflaig6749 Жыл бұрын
@@BleedingCode Got it, thanks for the answer.
@AbhishekSharma-fg1ho
@AbhishekSharma-fg1ho Жыл бұрын
in real world project why we use it and is it always use in project
@BleedingCode
@BleedingCode Жыл бұрын
It helps keep code clean and prevents unnecessary nesting of code using conditions.
@neetneetov9835
@neetneetov9835 Жыл бұрын
10/10
@BleedingCode
@BleedingCode Жыл бұрын
Thank you 🙏
@robototem
@robototem Жыл бұрын
Just completed. The course was brilliant!
@BleedingCode
@BleedingCode Жыл бұрын
Awesome. I'm glad you enjoyed it :)
@felipesales1878
@felipesales1878 Жыл бұрын
Awesome content, thank you!! 🙏
@BleedingCode
@BleedingCode Жыл бұрын
My pleasure!
@oedon229
@oedon229 Жыл бұрын
Is qanplatform still worth? We have proof that those IP's are real?
@BleedingCode
@BleedingCode Жыл бұрын
Hi there. Yes, it is. They are in the process of going live.
@biplobmanna
@biplobmanna Жыл бұрын
Finally it all clicked in my head. Immense gratitude to you for your organized explanation.
@BleedingCode
@BleedingCode Жыл бұрын
Glad it was helpful!
@mykun8737
@mykun8737 Жыл бұрын
Could you tell me your email or instagaram? i really wanna contact you for help
@marcorobbe9003
@marcorobbe9003 Жыл бұрын
Really a great video - explaining all the things in an interesting content. With all that code it is a little bit deep to me also with thinking as node red as a non code tool. 🙂 I am looking forward to see more of your great and interesting made videos. Would also be great to see topics about using together with influxDB and grafana or just styling and organizing (structuring and navigation) the node reds dashboard itself.
@BleedingCode
@BleedingCode Жыл бұрын
Thanks for your feedback. I'll keep these topics in mind...although truthfully I have some ReactJS and Web3 stuff planned for the near future, which will be using Node-RED indirectly :)
@moazzammushtaq3606
@moazzammushtaq3606 Жыл бұрын
Amazing video if u have to get in deep for eventloop
@BleedingCode
@BleedingCode Жыл бұрын
Thank you I appreciate it 🙏 - John
@guilhermerenkel3552
@guilhermerenkel3552 Жыл бұрын
Really good explanation! Thanks for sharing this content with us!
@BleedingCode
@BleedingCode Жыл бұрын
Glad you enjoyed it :) - John
@chris_ea
@chris_ea Жыл бұрын
Awesome, can Node-Red be deployed on a cpanel Node Service?
@BleedingCode
@BleedingCode Жыл бұрын
In short...yes. Remember, Node-RED is actually a Node Module...which means it can run anywhere that supports NPM installations.
@soniablanche5672
@soniablanche5672 Жыл бұрын
It's funny because Nodejs's own crypto library runs on a different thread when it's hashing or encrypting something
@vaibhavm1986
@vaibhavm1986 Жыл бұрын
Hi I am making 5 API calls in and i can see 5 console log at same time how come is possible with 4 threads
@BleedingCode
@BleedingCode Жыл бұрын
Hi there. Can you elaborate the issue? If you're making these calls on your local machine, the speed would be near instant, making it feel like all 5 logs occurred at the same time.
@valikonen
@valikonen Жыл бұрын
Man, be more concise...
@BleedingCode
@BleedingCode Жыл бұрын
Lol. Cheers thanks :)
@chiu-minglam630
@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
@BleedingCode Жыл бұрын
I went the route that most people would be familiar with.
@sahrukhjethra1505
@sahrukhjethra1505 Жыл бұрын
I really learned event loop concept in actual way which I wanted. Thanks. keep posting more videos about how we can write non-blocking code in nodejs.
@BleedingCode
@BleedingCode Жыл бұрын
Thanks, will do :)
@Kurogane-el2vq
@Kurogane-el2vq Жыл бұрын
How do you reference output of an input node? I’m still new to Node Red. In high level programming, often they have a variable name. But I’m confuse how node red handles this.
@BleedingCode
@BleedingCode Жыл бұрын
In their documentation they explain this in detail, but every node is different. It's best to highlight the node and check their docs in the right-side pane.
@NigelDodd
@NigelDodd Жыл бұрын
thanks. Fills in a piece in the jigsaw.
@BleedingCode
@BleedingCode Жыл бұрын
Cheers. You're welcome :)
@sabitarturk8720
@sabitarturk8720 Жыл бұрын
hi sir , Multiple user login in node red program? I searched a lot but couldn't find it
@BleedingCode
@BleedingCode Жыл бұрын
Well, multiple user login can be managed in different ways, but the issue is multiple users working on their own stuff in Node-RED. This is where it becomes an issue.
@mostafatarekadam8861
@mostafatarekadam8861 Жыл бұрын
Sir I don't believe that anyone could've explained that topic the way you did, I understood pretty seamlessly thank you ❤❤❤❤
@BleedingCode
@BleedingCode Жыл бұрын
I appreciate that very much Mostafa 🙏
@donatoscognamiglio4651
@donatoscognamiglio4651 Жыл бұрын
after this attack how do you see it?
@BleedingCode
@BleedingCode Жыл бұрын
A small bump. It was unfortunate, but I think online reports oversimplified what happened. They're already bouncing back.
@vasilisvolos
@vasilisvolos Жыл бұрын
Get Rekt John 🤣🤣
@BleedingCode
@BleedingCode Жыл бұрын
What a stuff up
@vasilisvolos
@vasilisvolos Жыл бұрын
@@BleedingCode What a hack up, 2nd time. bye bye Qan.
@BleedingCode
@BleedingCode Жыл бұрын
@@vasilisvolos I hear they're going to do a restore, which will give everyone their QANX back. But yeah, this shines a dim light on them at the moment.