Node Cluster Locking Challenge
Background It’s an interesting challenge to learn about the core concepts of NodeJS. I got this challenge from one of my colleague and engaged in the solution for about a couple of days. But I didn’t solve it with the shared constraints. Challenge: Cluster locking Playground Idea 1 concept The plan was to store the output in a common object to share data from worker to worker. But it didn’t work as in Node Cluster is running in different process and no data can be shared worker to worker directly in Node Cluster....