In a browser when you open a page in a tab, you actually create a process in which there can be multiple threads, such as js engine, page rendering, HTTP request threads and many more. Whereas in nodejs you initiate a request, you actually create a thread that may be destroyed when the request is completed.
what can you even say to a person, who is writing article about event loop and at the same time agreeing with some stupid person who thinks node js creates a thread for every request. WOW, I have no words, the first line of the documentation of the Node JS says node js is single threaded..
Thanks for pointing that out. It was incomplete as information and must have created confusion among the readers regarding the concept. I have updated the context. ππΌ π
Friendly advice: While pointing out issues in someone's article we can try using polite language instead of calling someone stupid or making fun of them. It is really discouraging for people out there writing articles and others who are sharing their feedback.
This is platform where everyone is sharing their learnings and mistakes are bound to happen for which I apologise. We as developers should help each other by providing valuable feedback in a better way and make this community a better place. π
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Well explained π
Adding on
In a browser when you open a page in a tab, you actually create a process in which there can be multiple threads, such as js engine, page rendering, HTTP request threads and many more. Whereas in nodejs you initiate a request, you actually create a thread that may be destroyed when the request is completed.
Thanks for adding upβΊοΈ
Do you mind if I add this to the difference list in the post?
Yeah, you can add π
what can you even say to a person, who is writing article about event loop and at the same time agreeing with some stupid person who thinks
node js
creates a thread for every request. WOW, I have no words, the first line of the documentation of the Node JS says node js issingle threaded.
.Hey,
Thanks for pointing that out. It was incomplete as information and must have created confusion among the readers regarding the concept. I have updated the context. ππΌ π
Friendly advice: While pointing out issues in someone's article we can try using polite language instead of calling someone stupid or making fun of them. It is really discouraging for people out there writing articles and others who are sharing their feedback.
This is platform where everyone is sharing their learnings and mistakes are bound to happen for which I apologise. We as developers should help each other by providing valuable feedback in a better way and make this community a better place. π