Web workers¶llel.js html5lt

  • Published on
    23-Aug-2014

  • View
    269

  • Download
    10

DESCRIPTION

2014/06/05

Transcript

  • Web Workers & Parallel.js
  • (function() { let me = { name : , twitter : @banana_umai , as : Server Side Engineer , belogns_to : } })();
  • Web Workers
  • API http://www.hcn.zaq.ne.jp/___/WEB/Workers-ja.html
  • API http://www.hcn.zaq.ne.jp/___/WEB/Workers-ja.html
  • DOM
  • UI
  • self.onmessage = function(event) { loadScripts( proc.js ); postMessage(procWithData(event.data)); }
  • self.onmessage = function(event) { loadScripts( proc.js ); postMessage(procWithData(event.data)); }
  • self.onmessage = function(event) { loadScripts( proc.js ); postMessage(procWithData(event.data)); }
  • self.onmessage = function(event) { loadScripts( proc.js ); postMessage(procWithData(event.data)); }
  • self.onmessage = function(event) { loadScripts( proc.js ); postMessage(procWithData(event.data)); }
  • self.onmessage = function(event) { loadScripts( proc.js ); postMessage(procWithData(event.data)); }
  • self.onmessage = function(event) { loadScripts( proc.js ); postMessage(procWithData(event.data)); }
  • self.onmessage = function(event) { loadScripts( proc.js ); postMessage(procWithData(event.data)); }
  • self.onmessage = function(event) { loadScripts( proc.js ); postMessage(procWithData(event.data)); }
  • Parallel.js http://adambom.github.io/parallel.js/
  • map/reduce