Hi,
are there some undocumented limits for Web Workers? I spawned around 60 workers doing an extremely simple test job: incrementing an integer once per second and sending back the "updated" message to the UI thread. More than 60 workers (sometime 61 or 62 will still be ok) instantly kill the webpage with a tab crash, both on Chrome 19 and Firefox 12.
Today I was telling myself that javascript coding is wonderful, but you always end up banging yout head against two problems:
- Undocumented limits
- Security paranoia
And here's what that page says about this web workers issue...
... user agents were free to impose limits on worker creation, but the spec should be silent on this issue.
..."the topic of settings limits on Workers to avoid DOS attacks."
Bookmarks