SKShubham Kumar Singhinblog.realdev.club·Jul 3 · 5 min readHow I Solved the Ordered Parallel Batcher Problem in JavaScriptEvery coding problem teaches you something new. Recently, I worked on an interesting asynchronous JavaScript interview question called Ordered Parallel Batcher. At first, I thought the solution would 00
SMS M Piyas Mahamude Alifintechopinion.hashnode.dev·Jun 24 · 19 min readNode.js Thread Pool Under the Hood The Secret Engine Behind libuv's Architecture, Scheduling, Optimization, and High ConcurrencyIntroduction: The Lie You Were Told Every Node.js tutorial opens with the same sentence: "Node.js is single-threaded." It is a sentence that is both true and wildly misleading at the same time. Yes,00
ASANKESH SHARMAiniamankeshsharma.hashnode.dev·Jun 17 · 3 min readPromises in JavascriptIntroduction A promise is a object that represents eventual completion (or failure) of asyncronous operations. Simple defination: A placeholder for a future value. Use of Promise: To execute asyncron10
AKAshish Kumar Sainiinblog.ashishkumarsaini.dev·May 22 · 2 min readAsync/Await in JavaScriptAs a Javascript developer, you have seen the application become more interactive and started handling more asynchronous operations like API calls, file readings, and timers. Initially, developers rely00
KTKushagra Trivediinkushagrablogs.hashnode.dev·May 10 · 6 min readThe Node.js Event Loop ExplainedNode.js handles thousands of simultaneous requests — yet it runs on a single thread. That sounds like a contradiction. It isn't. The event loop is why. The Single-Thread Problem Most server environmen00
KTKushagra Trivediinkushagrablogs.hashnode.dev·May 10 · 4 min readAsync/Await in JavaScript: Writing Cleaner Asynchronous CodeJavaScript runs one thing at a time. But the real world doesn't wait — APIs take time to respond, files take time to load, databases take time to query. That's the async problem. And async/await is th00
MGMrinal Gintech-log.hashnode.dev·May 10 · 2 min readAsync/Await in JavaScript: Writing Cleaner Asynchronous Codeasync/await was introduced to give a more graceful and cleaner way of handling asynchronous code. Before this, JavaScript mainly used .then() and .catch(), which involved callback-style chaining and w00
AKAnkur Kumawatinhustlecoderankur.hashnode.dev·May 10 · 6 min readAsync/Await in JavaScript: Writing Cleaner Asynchronous CodeSo in my last post I have tried to covered Promises .then(), .catch(), chaining them together. And Promises are the one which are genuinely better than raw callbacks. But after a few chains, even they00
VRVISHAL RAYinrayvishal.hashnode.dev·May 10 · 1 min readMastering Asynchronous Node.jsYeah like Javascript on browser possible to write async code at node.js as well. in this blog we explore how to do, along with that we explore to use callback and promise00
SSSanghita Sealinsanghitadev.hashnode.dev·May 10 · 8 min readJavaScript Promises Explained for BeginnersThere’s a very specific phase every JavaScript developer goes through where asynchronous code starts feeling frustrating instead of exciting. At first, callbacks seem simple enough. You pass a functio00