1. React
  2. dotJS
  3. 2019
  4. Escaping flatland: a romance of data science in the browser

Escaping flatland: a romance of data science in the browser

A deep dive into the specific features of Web Workers that aid in making it possible to perform tasks typically reserved for cloud computing jobs, in the browser.

Jana Beck at dotJS 2019

Jana covers how to bring multi-dimensional computing power to the browser using Web Workers. She focuses on one particular dimensionality reduction algorithm—UMAP—used more and more frequently these days to visualize high-dimensional datasets. She deep dives into the specific features of Web Workers that aid in making it possible to perform tasks typically reserved for cloud computing jobs in the browser, albeit on smaller samples from data sets. These features include transferable objects, which allow for efficient, zero-copy passing of computed results back to the browser from the Worker and OffscreenCanvas, a bleeding edge browser feature that can let us even perform the visual rendering of the UMAP result in a non-blocking Worker.