DEV Community

Discussion on: This is why your Node.js application is slow

Collapse
 
vectormike40 profile image
Victor Jonah

Great article! But I’m still confused but I think you meant to say ‘slow down the event loop’ and not block it because this long response times can not block the event loop. Things that block the event loop are bad recursion(no termination condition) and sync operations like reading a file(this blocks for a while).

I totally get your tips!

Collapse
 
imichaelowolabi profile image
Michael Owolabi

Thank you @vectormike40 for your comment. Yes, while all application that block the event loop will have slow response time the converse is not always true and that is where the confusion is here. It is not sufficiently shown in the article where or how the event loop is blocked and I'm going to update that part of the article. Thanks once again