Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Vanilla JavaScript: Web Workers

via LinkedIn Learning

Overview

Optimize your web applications with JavaScript web workers. Learn how to enable multithreading with dedicated and shared web workers.

Syllabus

Introduction
  • Increase web performance with web workers
  • What you should know
1. Threading in JavaScript
  • The problem with JavaScript and threads
  • Execute CPU-intense operations
  • How the browser works with threads
  • The workers family
2. Working with Web Workers
  • Create a dedicated worker
  • Life cycle of a dedicated worker
  • Create a shared worker
  • Life cycle of a shared worker
  • Creating subworkers
  • Import external scripts
  • Create basic workers
  • Debug with browser dev tools
3. Communication and Security
  • Send messages to dedicated workers
  • Improve the performance of our app
  • Update progress and import scripts
  • Send messages to shared workers
  • Copy vs. transferable objects
  • Handle worker errors
4. Libraries, Frameworks, and Ideas
  • Libraries for web workers
  • Decoding images
  • WorkerDOM project
  • OffscreenCanvas
Conclusion
  • Next steps

Taught by

Maximiliano Firtman

Reviews

4.7 rating at LinkedIn Learning based on 33 ratings

Start your review of Vanilla JavaScript: Web Workers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.