awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعخادم MCPحولكيفية ترتيب النتائجالصحافة
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
parallel-js avatar

parallel-js/parallel.js

0
View on GitHub↗
3,245 نجوم·197 تفرعات·JavaScript·MIT·16 مشاهدات

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.

سجل النجوم

مخطط تاريخ النجوم لـ parallel-js/parallel.jsمخطط تاريخ النجوم لـ parallel-js/parallel.js

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Parallel.js

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Parallel.js.
  • whatwg/htmlالصورة الرمزية لـ whatwg

    whatwg/html

    9,163عرض على GitHub↗

    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
    عرض على GitHub↗9,163
  • typelevel/catsالصورة الرمزية لـ typelevel

    typelevel/cats

    5,447عرض على GitHub↗

    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
    عرض على GitHub↗5,447
  • developit/workerizeالصورة الرمزية لـ developit

    developit/workerize

    4,378عرض على GitHub↗

    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
    عرض على GitHub↗4,378
  • developit/greenletالصورة الرمزية لـ developit

    developit/greenlet

    4,689عرض على GitHub↗

    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
    عرض على GitHub↗4,689
عرض جميع البدائل الـ 30 لـ Parallel.js→

الأسئلة الشائعة

ما هي وظيفة 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.

ما هي الميزات الرئيسية لـ parallel-js/parallel.js؟

الميزات الرئيسية لـ parallel-js/parallel.js هي: Parallel Worker Execution, Datasets and Evaluation, Concurrent Data Processing, Data Reducers, Distributed Function Mapping, Job Behavior Configurations, Multi-Core Scaling, Return Values.

ما هي البدائل مفتوحة المصدر لـ parallel-js/parallel.js؟

تشمل البدائل مفتوحة المصدر لـ parallel-js/parallel.js: 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…

مجموعات مختارة تضم Parallel.js

مجموعات منسقة بعناية يظهر فيها Parallel.js.
  • Parallel execution framework
  • موارد البرمجة المتزامنة والمتوازية