NRNavdeep Rohillainjavascript-journey-by-navdeep.hashnode.dev·May 10 · 3 min readAsync Code in NodeJS1. Why async code exists in Node.js Imagine you ask Node.js to read a file from your disk. That file could be small — or it could be 200MB. Either way, reading it takes time. And while Node.js is wait00
NRNavdeep Rohillainjavascript-journey-by-navdeep.hashnode.dev·May 10 · 5 min readSynchronous vs Asynchronous JSJavaScript is single-threaded. That sounds technical, but it simply means: it can only do one thing at a time. If JavaScript only does one thing at a time, how does it handle loading tweets, playing a00
NRNavdeep Rohillainjavascript-journey-by-navdeep.hashnode.dev·May 10 · 5 min readError Handling in JS: Try , Catch FinallyIntroduction No matter how carefully we write code, errors are always going to happen. Sometimes the user enters wrong input. Sometimes the server stops responding. Sometimes we ourselves forget a var00
NRNavdeep Rohillainnode-js-by-navdeep.hashnode.dev·May 10 · 3 min readHow Node.js handles Multiple Requests with a Single ThreadMost developers hear "single-threaded" and immediately think — wait, how does this thing even work at scale? It sounds like a limitation. But Node.js turns it into a superpower. Let me break it down s00
NRNavdeep Rohillainnode-js-by-navdeep.hashnode.dev·May 10 · 9 min readBlocking vs Non-Blocking Code in Node.jsOne of the most confusing moments for beginners learning Node.js happens when they write perfectly working code… and the server still feels slow. At first, everything seems fine during development. Yo00
NRNavdeep Rohillainjavascript-journey-by-navdeep.hashnode.dev·May 10 · 6 min readJavaScript Promises: Explained for BeginnersIntroduction Whenever we use websites like Instagram, YouTube, WhatsApp, or Netflix, many things happen in the background. Messages load after some time. Videos buffer. Data comes from servers. Paymen00
NRNavdeep Rohillainnode-js-by-navdeep.hashnode.dev·May 10 · 5 min readThe Node.js Event Loop ExplainedIf you've started learning Node.js, you've probably heard this sentence: "Node.js is single-threaded but can handle many requests at once." At first, that sounds confusing. If Node.js uses only one th00
SSSanghita Sealinsanghitadev.hashnode.dev·May 9 · 5 min readAsync Code in Node.js: Callbacks and PromisesImagine a pizza restaurant during peak hours. Customers keep placing orders: one pizza needs baking, another needs toppings, another needs delivery packing. Now imagine the chef stopping everything un00
KTKushagra Trivediinkushagrablogs.hashnode.dev·May 9 · 3 min readAsync Code in Node.js: Callbacks and PromisesTopics to Cover Why async code exists in Node.js Callback-based async execution Problems with nested callbacks Promise-based async handling Benefits of promises Why async code exists in Node.js00
SScopieinscopie.hashnode.dev·May 5 · 9 min readBuilding a Learning PlatformA backend engineer's first-person account of building Naija Learn from scratch. Every great project starts with a conversation. Mine started with a simple thought: Nigerian students deserve better. N10