Shifting JavaScript into High Gear with Web Workers
Pluralsight
Course Summary
This course dives into what web workers are and provides practical demonstrations showing how they can be used to add parallel processing capabilities to a web application.
-
+
Course Description
In recent years, JavaScript has risen to become one of the most important languages in modern software development. However, despite the powerful engines that run it, it is often limited by its single-threaded nature. In this course, Shifting JavaScript into High Gear with Web Workers, you will learn how to work around that constraint in web applications by using the WebWorker API to allow your application to take advantage of the full power that your customer's computers have to offer. First, you will get to see why web workers are the preferred solution for adding parallel execution paths to an application. Next, you'll get a step-by-step overview of the various aspects of working with web workers, such as defining messages and what APIs can be accessed from within a worker. Finally, you'll see how web workers can be added to a real-world application in a way that causes the smallest disruption possible to the application's structure, while gaining the advantages inherent with workers. After finishing this course, you will be ready to implement web workers into your multi-threaded applications with minimum hassle.
-
+
Course Syllabus
Course Overview- 1m 11s
—Course Overview 1m 11sIntroduction- 28m 40s
—Introduction 2m 2s
—The Case for Parallelism 2m 2s
—Background on Web Workers 3m 8s
—Demo: Sending a Message to a Worker 4m 44s
—Demo: Receiving a Message from a Worker 3m 6s
—Demo: Introduction to Demo Scenario 1m 16s
—Overview of Demo Scenario's Algorithm 2m 36s
—Tour of the Demo Scenario's Codebase 6m 21s
—Course Outline 3m 20sThe Basics- 37m 39sPractical Web Workers- 49m 28s