In this video, we will find out when and how to use Worker Threads to get performance boosts and unblock the Main Thread. We walk through taking traditional single-threaded code and porting it to multithreading.
GitHub repo: [ Ссылка ]
0:00 Overview
0:26 Event Loop
2:24 Multithreading
3:28 Web Workers
4:16 Use case overview
6:47 Jump into the code
9:40 Adding Web Worker
16:38 Transfering objects to Web Worker
21:02 Results!
22:06 Solution overview
Ещё видео!