cluster.fork() that is built into Node.js. This will allow the workload to be spread out across my multi-core processor system.
8:53 should read:
index % forks === cluster.worker.id - 1
To follow along, you can fork this repository. I have added a tag you can check out that will bring you right to the point this video was created.
git checkout https://github.com/joelnet/mojo-gallery.git cd mojo-gallery git checkout youtube-video-cluster
Be sure to subscribe for more videos like this!