dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Web Workers: untold limits?

  1. #1
    Join Date
    May 2012
    Posts
    2

    Post Web Workers: untold limits?

    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.

    Hints?
    Thanks,

    a.

  2. #2
    Join Date
    May 2012
    Posts
    2
    Never mind. Found my answer here
    http://lists.whatwg.org/pipermail/wh...er/024363.html

    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."

    hah.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles