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

NodeJS worker threads

NodeJS worker threads

This slide deck was presented at DevFest Live 2021

Srushtika Neelakantam

June 16, 2021
Tweet

More Decks by Srushtika Neelakantam

Other Decks in Technology

Transcript

  1. PEER TO PEER STRATEGY @Srushtika | @ablyrealtime | @DevFestLive player1

    player2 player3 player4 player5 O(n2) time complexity
  2. PUBLISH/ SUBSCRIBE PATTERN P.S. This is an old gif, Ably

    has moved on to new branding now @Srushtika | @ablyrealtime | @DevFestLive FEATURES • Presence • Message History • Integrations . . . INFRASTRUCTURE • Auto reconnection • Scale • Guaranteed delivery • Message ordering . . .
  3. KEY ELEMENTS THAT MAKE NODE JS WORK NODE JS The

    chrome v8 engine converts JavaScript to machine readable code The libuv library provides and manages the event loop and thread pool @Srushtika | @ablyrealtime | @DevFestLive
  4. “What the heck is the event loop anyway” by Philip

    Roberts (JSConfEU on YouTube) @Srushtika | @ablyrealtime | @DevFestLive
  5. —VARIOUS PEOPLE ON THE INTERNETS “Node.js is a CPU bottleneck

    due to its single-threaded nature. That’s one of its major drawbacks” @Srushtika | @ablyrealtime | @DevFestLive
  6. CREDITS: This presentation template was created by Slidesgo, including icons

    by Flaticon, and infographics & images by Freepik THANKS! Do you have any questions? @Srushtika | @ablyrealtime | @DevFestLive