How I Built a Custom IPC Protocol Inside Node.js Worker Threads

Three days, two scrapped implementations, one embarrassing bug. Here’s what actually happened.