My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
How Sockets Can Block Node's Event Loop

How Sockets Can Block Node's Event Loop

Ryan Mendes's photo
Ryan Mendes
·May 10, 2017

Writing good code requires an understanding of how the language's features fit together. Writing great code requires an understanding of how the code will actually run underneath. If you don't, your code could cause huge hidden issues. When we first started implementing our socket logic in Node.js, we didn't have much experience with doing real-time operations with Node.js.