Html5 max working web worker at the same time

Is there a maximum number of web workers that can be run simultaneously? Thank you very much.

+6
html5 web-worker
Jun 15 '12 at 11:25
source share
2 answers

Yes and no. There is no hard limit with web workers, but you are limited by available processor and memory.

There is a rather large amount of costs for the processor and memory that comes with each worker so that you can finish the machine to shredding if you have allocated a lot of workers.

I would say that Web Workers is best used for “lengthy” background tasks of 100 milliseconds or more.

+7
Jun 15 2018-12-15T00:
source share

No restrictions are mentioned in w3c (see http://www.w3.org/TR/workers/ )

But it depends on what you want to do, the limit will be the computer on which you will run the application (be kind to your users).

+3
Jun 15 '12 at 17:58
source share



All Articles