15:15 - 16:00
Node.js provides developers a system with single-threaded event loop architecture that provides a non-blocking I/O mechanism. This works great until we get to CPU-intensive tasks. In this case, Node’s performance isn’t up to the mark.
This has changed with the release of the worker threads in the latest Node versions. We can use threads and write CPU-intensive code in Node. This can make Node popular in many other fields of software development, starting with algorithms, AI , complicated computations, and more.
In this talk I will go over the concept, API, and architecture of worker threads. I will show a demo of a Node server that implements a CPU-intensive task to help you learn a cool new ability to add to your Node.js coding skills.