Maximum running web worker html5 at the same

html, web-worker

Solution

Yes and no. With Web Workers, there's no hard limit but you are limited by the available CPU and memory.

There's a rather large amount of CPU and memory overhead that comes with each worker so you can bring the machine to a grind if you spin off a lot of workers.

I'd say Web Workers are best used for "long running" background tasks of 100 milliseconds or more.

Problem

Is there any maximum count of web worker that can be run at the same time? Thanks a lot.

Original source