
Parallel Processing CPU Bound Tasks with NodeJS
Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=ZYfSe9qKaZE
Note : I apologise for the video quality, I didn't want the video encoder to effect the CPU monitoring.
Code : https://github.com/Sean-Bradley/NodeJS-CPU-Bound-Parallelism
CPU bound tasks in NodeJS will block the NodeJS event loop until the task has finished. In this video I show how you can start individual tasks in there own processes so that the operating system will then manage those NodeJS tasks in parallel without blocking the event loop in your master NodeJS application.
Other Videos By SBCODE
Tags:
nodejs
cpu bound
parallel processing
nodejs concurrency
nodejs event loop
multi processing