Ksdhanushka·Dec 26, 2025What are worker.on() Events in Node.js?When you create a Worker Thread, you need a way to communicate with it and handle its lifecycle. Node.js provides event listeners on the…
Ksdhanushka·Dec 23, 2025Post 5: Worker Threads Aren’t Always the Answer (Here’s When to Pause)Worker Threads are great, but only for the right kind of work. Let’s break down when to use them — and when you absolutely shouldn’t.
Ksdhanushka·Dec 17, 2025Part 4: Multi-Core Optimization & Real Performance GainsIn Part 3, we explored how threads communicate and exchange results. Now it’s time to go beyond single-worker offloading and truly split…
Ksdhanushka·Dec 11, 2025Part 3: Communication Between Threads & Error Handling in Node.js Worker ThreadsIn Part 2 of this series, we moved a CPU-heavy task into a Worker Thread and kept our Node.js event loop free. But using workers is more…
Ksdhanushka·Dec 8, 2025Part 2: How to Set Up Worker Threads in Node.jsNode.js is incredibly fast for I/O-heavy workloads — but CPU-intensive tasks can block the event loop and freeze your entire server. In…
Ksdhanushka·Dec 6, 2025Part 1: Why Worker Threads Matter in Node.jsDid you know your Node.js server can still get blocked even though you’re using async/await?
Ksdhanushka·Nov 30, 2025Dynamic Route Segments in Next.js — Flexibility at Folder-LevelRouting isn’t just about mapping URLs — with Next.js’s file-system conventions, your folder structure is your routing map. And one of the…
Ksdhanushka·May 6, 2024Unleashing GraphQL in ASP.NET with HotChocolate.AspNetCoreAre you ready to revolutionize your ASP.NET applications with the power of GraphQL? Look no further! In this guide, we’ll explore the…