Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Parallel Computing in Javascript

Parallel Computing in Javascript

Showing some methods to do async stuffs in Javascript. What exists? How we can use these features?

Talk given in JSSP:
https://www.meetup.com/pt-BR/Javascript-SP/events/231922503/

More Decks by Renato Augusto Gama dos Santos

Other Decks in Programming

Transcript

  1. What is Parallel ? “If one computer (processor) can resolve

    a problem in N seconds, could N computers (processors) resolve the same problem in 1 sec?”
  2. Definition - Web Workers provide a simple means for web

    content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface. In addition, they can perform I/O using XMLHttpRequest (although the responseXML and channel attributes are always null). Once created, a worker can send messages to the JavaScript code that created it by posting messages to an event handler specified by that code (and vice versa.)