Parallel Programming using NodeJS Workers

preview_player
Показать описание
#javascript #nodejs #parallelprogramming #threads #workers #workerthreads

In this video you a simple example of how to use the fork() method from NodeJS' child_process dependency to create threads or subprocesses that perform different task and can communicate back and forth with a main/parent process.

If you enjoyed this video or learned something from it leave a like below!
Your feedback is greatly appreciated - leave a comment on what you liked/disliked about this video.

Рекомендации по теме
Комментарии
Автор

Hey man, would this possibly be the fix to my heroku timeout errors? I got a request that takes more than 30 second (sends some data to a selenium script and runs it) and it cancels the request as a result

codaq
Автор

Would've added time comparision before worker after worker and loop with some million number can make actual visible time difference to be noticed. Good example though

dineshk
Автор

Nice video
But can you put more energy into your videos

gregudogu