awesome-repositories.com
Blog
MCP
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektMCP-ServerÜber unsRanking-MethodikPresse
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
parallel-js avatar

parallel-js/parallel.js

0
View on GitHub↗
3,245 Stars·197 Forks·JavaScript·MIT·16 Aufrufe

Parallel.js

Parallel.js is a JavaScript library for running computational tasks concurrently across background worker threads and multi-core environments in browsers and Node. It wraps web worker management into a framework that offloads heavy computations without blocking the main event loop.

The library initializes parallel jobs by wrapping serializable data in memory and configuring worker threads, execution timeouts, and synchronous fallback behavior. It supports mapping functions across datasets and reducing dataset values to scalar results by distributing work across separate threads. Operations execute asynchronously with customizable success and failure callbacks that trigger once chained parallel jobs complete.

Execution contexts can be customized by passing environment variables and global configuration data into worker threads. External functions and script files can also be injected into workers to ensure necessary code and dependencies are available during data processing.

Features

  • Parallel Worker Execution - Spawns background worker threads to execute custom functions against wrapped data asynchronously without blocking the main event loop.
  • Datasets and Evaluation - Applies mapping functions and accumulation routines to dataset elements concurrently by distributing work across separate worker threads.
  • Concurrent Data Processing - Runs heavy computational jobs concurrently across multiple CPU cores or worker threads to accelerate dataset processing.
  • Data Reducers - Combines elements of a dataset iteratively using a reducing function to produce a single aggregated result.
  • Distributed Function Mapping - Applies a given function to every element in a dataset by distributing work across multiple parallel worker threads.
  • Job Behavior Configurations - Initializes parallel jobs by wrapping serializable data in memory and configuring worker threads, timeouts, and fallback behavior.
  • Multi-Core Scaling - Runs heavy computational jobs concurrently across multiple CPU cores or worker threads to accelerate data processing in JavaScript.
  • Return Values - Applies an accumulation function to members of a dataset to combine intermediate results and return a single scalar value.
  • Web Worker Execution - Manages browser web worker threads to run custom functions against wrapped data asynchronously with optional execution timeouts.
  • Web Worker Parallelism - Offloads heavy computations to background worker threads or multi-core environments in Node and browsers as a JavaScript parallel processing library.
  • Dataset Reshaping Operations - Applies a given function to every element of a dataset concurrently by distributing work across separate worker threads.
  • Concurrency Utilities - Offers a framework for mapping and reducing datasets concurrently across multiple CPU cores or threads in JavaScript.
  • Task Completion Callbacks - Executes customizable success and failure callback functions automatically once parallel computational jobs finish processing data.
  • Error Handling - Registers callback functions to process successfully computed results or handle error objects when a parallel job finishes.
  • Shared Workers - Injects external functions or script files into worker threads so auxiliary code and dependencies are available during execution.

Star-Verlauf

Star-Verlauf für parallel-js/parallel.jsStar-Verlauf für parallel-js/parallel.js

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Parallel.js

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Parallel.js.
  • whatwg/htmlAvatar von whatwg

    whatwg/html

    9,163Auf GitHub ansehen↗

    This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.

    HTMLcanvaseventsourcehtml
    Auf GitHub ansehen↗9,163
  • typelevel/catsAvatar von typelevel

    typelevel/cats

    5,447Auf GitHub ansehen↗

    Cats is a Scala functional programming library and type class library designed to implement algebraic patterns and functional abstractions. It provides a standardized set of interfaces and a modular toolkit of functional wrappers and containers to enable ad-hoc polymorphism and generic programming across disparate types. The project serves as a functional abstraction standard, offering a monad transformer suite to compose nested effectful contexts and handle multiple computational side effects within a single pipeline. It further enables the construction of embedded domain-specific languages

    Scala
    Auf GitHub ansehen↗5,447
  • developit/workerizeAvatar von developit

    developit/workerize

    4,378Auf GitHub ansehen↗

    Workerize is a web worker module loader and main thread offloader. It functions as an asynchronous proxy wrapper that allows JavaScript modules to run in background workers, preventing browser UI freezes by delegating computationally expensive tasks to separate threads. The project utilizes a proxy-based interface to call functions inside a background worker as if they were local asynchronous calls. This mechanism enables the execution of modules in parallel workers to maintain main thread responsiveness. The system covers asynchronous module execution and web worker integration, focusing on

    JavaScript
    Auf GitHub ansehen↗4,378
  • developit/greenletAvatar von developit

    developit/greenlet

    4,689Auf GitHub ansehen↗

    Greenlet is a multi-threaded asynchronous executor and web worker task runner. It serves as an execution wrapper that offloads heavy computation to background workers to maintain user interface responsiveness and prevent the main execution thread from blocking. The project includes a transferable object handler designed to move large data buffers between threads. This mechanism avoids the overhead of memory copying to optimize data transfer. The library covers the management of web workers, facilitating asynchronous task isolation and main thread offloading.

    JavaScript
    Auf GitHub ansehen↗4,689
Alle 30 Alternativen zu Parallel.js anzeigen→

Häufig gestellte Fragen

Was macht parallel-js/parallel.js?

Parallel.js is a JavaScript library for running computational tasks concurrently across background worker threads and multi-core environments in browsers and Node. It wraps web worker management into a framework that offloads heavy computations without blocking the main event loop.

Was sind die Hauptfunktionen von parallel-js/parallel.js?

Die Hauptfunktionen von parallel-js/parallel.js sind: Parallel Worker Execution, Datasets and Evaluation, Concurrent Data Processing, Data Reducers, Distributed Function Mapping, Job Behavior Configurations, Multi-Core Scaling, Return Values.

Welche Open-Source-Alternativen gibt es zu parallel-js/parallel.js?

Open-Source-Alternativen zu parallel-js/parallel.js sind unter anderem: whatwg/html — This repository contains the HTML specification, which defines the core standards for web page structuring, content… typelevel/cats — Cats is a Scala functional programming library and type class library designed to implement algebraic patterns and… developit/workerize — Workerize is a web worker module loader and main thread offloader. It functions as an asynchronous proxy wrapper that… ecrmnn/collect.js — collect.js is a dependency-free JavaScript library that provides a fluent, chainable interface for manipulating arrays… dabbott/javascript-playgrounds — Javascript Playgrounds is a browser-based code execution engine designed for running untrusted JavaScript snippets and… agenda/agenda — Agenda is a persistent background job scheduler and distributed task runner for Node.js applications. It functions as…

Kuratierte Suchen mit Parallel.js

Handverlesene Sammlungen, in denen Parallel.js vorkommt.
  • Parallel execution framework
  • Ressourcen für Nebenläufigkeit und parallele Programmierung