System Design · Middle · Question 63 of 75

When should heavy computation move to a Web Worker?

Explanation

Workers run in parallel but can't touch the DOM; data is passed via messages (or transferable objects).

Further reading

Problem with a question

System Design · Middle · question 63

Test yourself

Take the System Design · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz