awesome-repositories.com
ब्लॉग
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

31 रिपॉजिटरी

Awesome GitHub RepositoriesWorker Thread Patterns

Architectural patterns where background threads process independent tasks and return results to a main thread.

Distinct from Worker Thread Reuse: Distinct from limiting thread counts or UI messaging; focuses on the task distribution model.

Explore 31 awesome GitHub repositories matching software engineering & architecture · Worker Thread Patterns. Refine with filters or upvote what's useful.

Awesome Worker Thread Patterns GitHub Repositories

AI के साथ बेहतरीन रिपॉजिटरी खोजें।हम AI का उपयोग करके सबसे सटीक रिपॉजिटरी खोजेंगे।
  • krisk/fusekrisk का अवतार

    krisk/Fuse

    20,347GitHub पर देखें↗

    Fuse is a JavaScript fuzzy search library and client-side search engine designed to index and query JSON data. It provides utilities for approximate string matching and ranking results by relevance, allowing applications to perform fast filtering and searching of datasets without a dedicated backend. The library distinguishes itself through a token-based search implementation that supports word-order independence and relevance weighting. It utilizes edit-distance scoring to handle typos and insertions, and employs a system of field weighting to prioritize matches in high-value data keys. The

    Distributes search tasks across background worker threads to maintain main-thread responsiveness.

    JavaScriptbitapjavascriptlightweight-fuzzy-search
    GitHub पर देखें↗20,347
  • jeromeetienne/ar.jsjeromeetienne का अवतार

    jeromeetienne/AR.js

    15,801GitHub पर देखें↗

    AR.js is a web-based augmented reality framework used to create immersive experiences directly in a browser using WebGL and WebRTC. It provides a cross-platform runtime that executes on mobile devices and head-mounted displays without requiring a dedicated application installation. The framework includes a marker-based engine for detecting physical patterns or barcodes to anchor digital overlays, a location-based tool for positioning entities via GPS coordinates, and a face tracking library for anchoring content to human facial features. It supports multi-marker simultaneous tracking, custom

    Offloads heavy image processing and pattern matching to background threads to maintain high performance.

    HTMLa-framethree-jswebar
    GitHub पर देखें↗15,801
  • shengqiangzhang/examples-of-web-crawlersshengqiangzhang का अवतार

    shengqiangzhang/examples-of-web-crawlers

    14,651GitHub पर देखें↗

    This project is a collection of Python scripts and tools designed for web scraping, browser automation, and large-scale data extraction. It provides a set of implementations for retrieving information from websites and private APIs, including tools for multimedia downloading and social media data archiving. The toolset includes specialized mechanisms for bypassing anti-scraping measures through IP proxy pool rotation and multi-threaded crawlers. It also features capabilities for simulating browser sessions to handle authentication, intercepting session cookies, and decrypting network payloads

    Uses a thread-safe queue to distribute target URLs across multiple worker threads for accelerated collection.

    HTMLagent-poolcrawlerexample
    GitHub पर देखें↗14,651
  • sql-js/sql.jssql-js का अवतार

    sql-js/sql.js

    13,632GitHub पर देखें↗

    sql.js is a serverless, in-memory SQL database engine that ports SQLite to WebAssembly for use within a web browser. It provides a JavaScript interface to initialize relational databases, execute SQL queries, and manage structured data without requiring a backend server. The project enables the import and export of database states using typed arrays, allowing in-memory data to be persisted as files. It supports high-precision integer retrieval via BigInt and utilizes prepared statements to increase execution speed and security. The engine includes capabilities for client-side data management

    Employs worker thread patterns to offload heavy database computations and keep the user interface responsive.

    JavaScript
    GitHub पर देखें↗13,632
  • 1j01/jspaint1j01 का अवतार

    1j01/jspaint

    7,801GitHub पर देखें↗

    jspaint is a web-based reimplementation of Microsoft Paint, built entirely in JavaScript to run in a browser. It recreates the classic desktop application by reverse-engineering the original Win32 API calls and event handling, rendering the entire interface onto an HTML5 canvas for pixel-perfect retro graphics. The project preserves the original file format compatibility with BMP, PNG, GIF, and JPEG, ensuring exact pixel data matches the legacy application. The application maintains a complete undo history stack using compressed image snapshots, and offloads computationally intensive image pr

    Offloads computationally intensive image processing operations to background web workers for UI responsiveness.

    JavaScriptappcanvasdrawing
    GitHub पर देखें↗7,801
  • nodejs/nodejs.orgnodejs का अवतार

    nodejs/nodejs.org

    6,842GitHub पर देखें↗

    Node.js is an open-source, cross-platform JavaScript runtime environment built on the V8 engine, designed for executing JavaScript code outside a web browser. It operates as a server-side JavaScript platform with an event-driven, non-blocking I/O architecture that enables building scalable network applications and web servers. The runtime integrates the CommonJS module system for synchronous module loading and the npm ecosystem for sharing and reusing packages. The platform provides comprehensive capabilities for web server development, including creating HTTP and HTTPS servers, managing HTTP

    Ships a built-in worker_threads module for running JavaScript in parallel threads with shared memory.

    TypeScriptnextjsnodenodejs
    GitHub पर देखें↗6,842
  • uxlfoundation/onetbbuxlfoundation का अवतार

    uxlfoundation/oneTBB

    6,678GitHub पर देखें↗

    oneAPI Threading Building Blocks (oneTBB)

    Provides a thread-local task bypass that hands tasks directly to worker threads, skipping the global scheduling queue.

    C++composabilityflowgraphheterogeneousprogramming
    GitHub पर देखें↗6,678
  • whitestormjs/whs.jsW

    WhitestormJS/whs.js

    6,326GitHub पर देखें↗

    whs.js एक WebGL 3D गेम इंजन और एक्स्टेंसिबल एप्लिकेशन फ्रेमवर्क है जिसका उपयोग इंटरैक्टिव 3D अनुभव और ब्राउज़र-आधारित गेम बनाने के लिए किया जाता है। यह कैमरों, लाइटिंग और समग्र 3D वातावरण को प्रबंधित करने के लिए लो-लेवल WebGL रेंडरिंग पर एक सरलीकृत एब्स्ट्रैक्शन लेयर प्रदान करता है। फ्रेमवर्क वस्तुओं को घटकों की एक पदानुक्रमित प्रणाली में व्यवस्थित करने के लिए एक मॉड्यूलर 3D सीन ग्राफ का उपयोग करता है। यह मुख्य रेंडर लूप के साथ समानांतर में गणना चलाने के लिए वेब वर्कर्स का उपयोग करके मल्टीथ्रेडेड फिजिक्स सिमुलेशन को एकीकृत करता है। सिस्टम में एक मॉड्यूलर प्लगइन आर्किटेक्चर शामिल है जो प्लगेबल सिस्टम के माध्यम से बेस एप्लिकेशन लॉजिक के विस्तार की अनुमति देता है। इसमें रेंडरर और वातावरण के सेटअप को संभालने के लिए स्वचालित सीन इनिशियलाइज़ेशन भी शामिल है।

    Runs heavy physics calculations in separate background threads using web workers to maintain high frame rates.

    JavaScript
    GitHub पर देखें↗6,326
  • alex8088/electron-vitealex8088 का अवतार

    alex8088/electron-vite

    5,487GitHub पर देखें↗

    electron-vite एक बिल्ड सिस्टम और मल्टी-प्रोसेस बंडल ऑर्केस्ट्रेटर है जो Electron एप्लिकेशन के लिए main, preload और renderer प्रोसेस को कंपाइल और बंडल करने के लिए Vite का उपयोग करता है। यह एक डेस्कटॉप एप्लिकेशन स्कैफोल्डर के रूप में कार्य करता है, जो विभिन्न फ्रंटएंड फ्रेमवर्क को एक मानकीकृत प्रोजेक्ट संरचना में एकीकृत करने के लिए टेम्प्लेट प्रदान करता है। यह प्रोजेक्ट एकीकृत सोर्स कोड सुरक्षा के माध्यम से खुद को अलग करता है, जो JavaScript को बाइटकोड में कंपाइल करने और रिवर्स इंजीनियरिंग को रोकने के लिए स्ट्रिंग्स को अस्पष्ट (obfuscate) करने हेतु V8 बाइटकोड ऑब्फ्यूस्केटर का उपयोग करता है। यह कई विंडोज़ और निष्पादन संदर्भों (execution contexts) में बंडलों और साझा चंक्स को अलग करके जटिल डेस्कटॉप आर्किटेक्चर का प्रबंधन भी करता है। यह टूलसेट क्रॉस-प्लेटफ़ॉर्म इंस्टालर के लिए स्वचालित पैकेजिंग पाइपलाइन, हॉट मॉड्यूल रिप्लेसमेंट के साथ डेवलपमेंट सर्वर ऑर्केस्ट्रेशन, और नेटिव मॉड्यूल व WebAssembly के प्रबंधन सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। यह प्रोडक्शन बिल्ड को ऑप्टिमाइज़ करने के लिए एनवायरनमेंट स्कोपिंग और बाइनरी मॉड्यूल एक्सटर्नलाइज़ेशन के कॉन्फ़िगरेशन का भी समर्थन करता है।

    Resolves worker imports into bundle paths during the build process for multi-threaded background execution.

    TypeScript
    GitHub पर देखें↗5,487
  • pagefind/pagefindPagefind का अवतार

    Pagefind/pagefind

    5,287GitHub पर देखें↗

    Pagefind is a static site search engine that indexes HTML files to provide a browser-based search experience without the need for a backend server or API. It consists of a multilingual search indexer and a set of prebuilt, customizable user interface components for rendering search inputs and result lists. The system is designed for global content, utilizing a multilingual search indexer that detects page languages and creates independent index bundles to provide language-specific stemming and results. It further optimizes performance by using a compressed index and offloading query execution

    Offloads search processing and index parsing to a web worker to prevent blocking the main user interface thread.

    Rust
    GitHub पर देखें↗5,287
  • didi/boosterdidi का अवतार

    didi/booster

    5,059GitHub पर देखें↗

    Booster एक Android ऐप बिल्ड ऑप्टिमाइज़र और बाइटकोड मैनिपुलेटर है जिसे बाइनरी साइज़ कम करने, सिस्टम-स्तरीय क्रैश को ठीक करने और एप्लिकेशन प्रदर्शन को बेहतर बनाने के लिए डिज़ाइन किया गया है। यह एक एक्सटेंसिबल बिल्ड प्रोसेस प्लगइन के रूप में कार्य करता है जो ओरिजिनल सोर्स कोड को बदले बिना स्टेबिलिटी फिक्स और ऑप्टिमाइज़ेशन इंजेक्ट करने के लिए कंपाइल की गई क्लास फाइलों और बिल्ड आर्टिफैक्ट्स को संशोधित करता है। यह प्रोजेक्ट OS-स्तरीय बग्स को पैच करने और संकलन चरण के दौरान थ्रेड पूल को मैनेज करने के लिए लो-लेवल बाइटकोड मैनिपुलेशन के माध्यम से खुद को अलग बनाता है। यह मुख्य-थ्रेड ब्लॉकिंग ऑपरेशंस की पहचान करने और संसाधन-संबंधी स्थिरता समस्याओं का विश्लेषण करने के लिए एक प्रदर्शन प्रोफाइलिंग टूलकिट भी प्रदान करता है।

    Implements architectural patterns to offload blocking preference commits and operations to background worker threads.

    Kotlin
    GitHub पर देखें↗5,059
  • jnordberg/gif.jsjnordberg का अवतार

    jnordberg/gif.js

    4,969GitHub पर देखें↗

    gif.js is a JavaScript GIF encoder and client-side color quantizer that generates animated GIF files directly within the web browser. It functions as an HTML5 canvas exporter and image processor, allowing for the creation of animated images from web sources without the need for a backend server. The library utilizes web workers to offload heavy image encoding tasks to background threads, which prevents the browser user interface from freezing during the generation process. This architecture enables the tool to act as a web worker image processor for dynamic image generation. The system cover

    Employs a worker-thread pattern to distribute frame encoding tasks across multiple background threads.

    JavaScript
    GitHub पर देखें↗4,969
  • transcranial/keras-jstranscranial का अवतार

    transcranial/keras-js

    4,963GitHub पर देखें↗

    Keras-js is a JavaScript inference engine and browser-based machine learning framework designed to execute pre-trained Keras neural networks. It allows for client-side model inference in web browsers or Node.js environments without the requirement of a backend server. The library utilizes a WebGL tensor accelerator to map mathematical operations to the graphics processor for hardware acceleration. To maintain user interface responsiveness during heavy computations, it incorporates a web worker inference runtime that executes neural network processing in background threads. The system support

    Executes neural network processing in background web worker threads to maintain user interface responsiveness.

    JavaScript
    GitHub पर देखें↗4,963
  • preactjs/wmrpreactjs का अवतार

    preactjs/wmr

    4,926GitHub पर देखें↗

    wmr एक वेब एप्लिकेशन डेवलपमेंट टूल और बिल्ड सिस्टम है जो एक ES मॉड्यूल्स बंडलर, स्टेटिक साइट जनरेटर और स्थानीय डेवलपमेंट सर्वर के रूप में कार्य करता है। यह आधुनिक वेब एप्लिकेशन्स बनाने के लिए एक पूर्ण एनवायरनमेंट प्रदान करता है, जो एक प्रोडक्शन कंपाइलर को ऐसे सर्वर के साथ जोड़ता है जो हॉट रीलोडिंग का समर्थन करता है। यह प्रोजेक्ट बैकग्राउंड स्क्रिप्ट्स और राउटिंग के लिए अपने एकीकृत दृष्टिकोण द्वारा प्रतिष्ठित है, जो सर्विस वर्कर बंडलर और फ़ाइलसिस्टम-आधारित राउटिंग के लिए एक टूल दोनों के रूप में कार्य करता है। यह प्री-रेंडरिंग के माध्यम से स्टेटिक HTML के निर्माण को सक्षम बनाता है और भारी गणनाओं को संभालने के लिए वेब वर्कर्स को स्पॉन करने के लिए नेटिव एकीकरण प्रदान करता है। यह सिस्टम ऑन-डिमांड कंपाइलेशन, मिडलवेयर-आधारित अनुरोध हैंडलिंग और बिल्ड लॉजिक का विस्तार करने के लिए एक प्लगइन-संचालित पाइपलाइन सहित बिल्ड ऑटोमेशन क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। इसमें एनवायरनमेंट वेरिएबल्स को प्रबंधित करने, इम्पोर्ट पथों को मैप करने और प्रोडक्शन एसेट्स को ऑप्टिमाइज़ करने के लिए बंडल आकार का विश्लेषण करने के लिए यूटिलिटीज भी शामिल हैं।

    Compiles and bundles service worker scripts to enable offline asset management.

    JavaScriptbuild-toolesmodulespreact
    GitHub पर देखें↗4,926
  • huggingface/text-embeddings-inferencehuggingface का अवतार

    huggingface/text-embeddings-inference

    4,871GitHub पर देखें↗

    Text Embeddings Inference एक हाई-परफॉरमेंस इन्फरेंस सर्वर है जिसे टेक्स्ट एम्बेडिंग और सीक्वेंस क्लासिफिकेशन मॉडल्स को स्केलेबल API एंडपॉइंट्स के रूप में होस्ट करने के लिए डिज़ाइन किया गया है। यह टेक्स्ट को घने अभ्यावेदन (dense representations) में बदलने के लिए एक वेक्टर एम्बेडिंग API और एक क्वेरी के खिलाफ डॉक्यूमेंट अनुक्रमों की प्रासंगिकता को स्कोर करने के लिए एक क्रॉस-एनकोडर रीरैंकिंग सर्वर प्रदान करता है। इस प्रोजेक्ट में एक GPU-एक्सेलेरेटेड इन्फरेंस इंजन है जो थ्रूपुट को अधिकतम करने के लिए डायनामिक बैचिंग और विशेष कर्नेल का उपयोग करता है। यह नेटवर्क लेटेंसी और सीरियलाइजेशन ओवरहेड को कम करने के लिए मानक HTTP के विकल्प के रूप में gRPC के माध्यम से एक हाई-परफॉरमेंस बाइनरी इंटरफेस प्रदान करता है। यह सिस्टम डॉक्यूमेंट सिमिलरिटी रैंकिंग, मल्टीलिंगुअल टेक्स्ट रीरैंकिंग और श्रेणियों या भावना की भविष्यवाणी के लिए सीक्वेंस क्लासिफिकेशन सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। यह सर्वरलेस ऑटो-स्केलिंग कंटेनर्स से लेकर एयर-गैप्ड इंस्टॉलेशन तक, विविध डिप्लॉयमेंट एनवायरनमेंट को सपोर्ट करता है। हार्डवेयर एक्सेलेरेशन NVIDIA GPUs, AMD GPUs और Apple Metal के लिए उपलब्ध है।

    Offloads text processing and sequence truncation to a separate pool of threads to prevent blocking the main inference loop.

    Rust
    GitHub पर देखें↗4,871
  • remy/html5demosremy का अवतार

    remy/html5demos

    4,729GitHub पर देखें↗

    यह प्रोजेक्ट तकनीकी प्रदर्शनों और प्रोटोटाइप्स का एक संग्रह है जो विभिन्न HTML5 APIs, मल्टीमीडिया क्षमताओं और वेब मानक कार्यान्वयनों को प्रदर्शित करता है। यह एक फ्रंटएंड टेक्नोलॉजी सैंडबॉक्स और आधुनिक ब्राउज़र सुविधाओं के लिए कार्यान्वयन प्रमाण-की-अवधारणाओं (proofs-of-concept) की एक गैलरी के रूप में कार्य करता है। संग्रह में HTML5 मल्टीमीडिया के लिए विशेष शोकेस शामिल हैं, जिसमें ऑडियो, वीडियो और रीयल-टाइम मीडिया स्ट्रीम का हेरफेर शामिल है। यह लाइव वातावरण में तकनीकी व्यवहार्यता और ब्राउज़र समर्थन को सत्यापित करने के लिए वेब क्षमताओं को प्रोटोटाइप करने पर केंद्रित प्रयोगों की एक श्रृंखला भी प्रदान करता है। यह प्रोजेक्ट कार्यात्मक डोमेन की एक विस्तृत श्रृंखला को कवर करता है, जिसमें ब्राउज़र-आधारित ग्राफिक्स रेंडरिंग और जियोलोकेशन सेवाएं शामिल हैं। यह क्लाइंट-साइड डेटा स्टोरेज और पर्सिस्टेंस, द्विदिश कनेक्शन के माध्यम से रीयल-टाइम डेटा सिंक्रोनाइज़ेशन, और सुरक्षित क्रॉस-विंडो संचार को प्रदर्शित करता है। अतिरिक्त क्षमताओं में बैकग्राउंड टास्क निष्पादन, वेब एसेट कैशिंग, और ड्रैग-एंड-ड्रॉप कार्यान्वयन जैसे इंटरैक्टिव यूज़र इंटरफ़ेस तत्व शामिल हैं।

    Demonstrates background threading using Web Workers to execute heavy computations without freezing the UI.

    HTML
    GitHub पर देखें↗4,729
  • developit/greenletdevelopit का अवतार

    developit/greenlet

    4,689GitHub पर देखें↗

    Greenlet एक मल्टी-थ्रेडेड एसिंक्रोनस एक्जीक्यूटर और वेब वर्कर टास्क रनर है। यह एक निष्पादन रैपर के रूप में कार्य करता है जो यूजर इंटरफेस रिस्पॉन्सिवनेस बनाए रखने और मुख्य निष्पादन थ्रेड को ब्लॉक होने से रोकने के लिए भारी गणना को बैकग्राउंड वर्कर्स को ऑफलोड करता है। इस प्रोजेक्ट में थ्रेड्स के बीच बड़े डेटा बफ़र्स को स्थानांतरित करने के लिए डिज़ाइन किया गया एक ट्रांसफरेबल ऑब्जेक्ट हैंडलर शामिल है। यह तंत्र डेटा ट्रांसफर को ऑप्टिमाइज़ करने के लिए मेमोरी कॉपी करने के ओवरहेड से बचता है। यह लाइब्रेरी वेब वर्कर्स के प्रबंधन को कवर करती है, जो एसिंक्रोनस टास्क आइसोलेशन और मुख्य थ्रेड ऑफलोडिंग की सुविधा प्रदान करती है।

    Executes JavaScript in separate OS threads to ensure the main UI thread remains free for user interactions.

    JavaScript
    GitHub पर देखें↗4,689
  • pythonguis/pythonguis-examplespythonguis का अवतार

    pythonguis/pythonguis-examples

    4,602GitHub पर देखें↗

    यह प्रोजेक्ट विभिन्न Python इंटरफेस लाइब्रेरीज़ का उपयोग करके डेस्कटॉप एप्लिकेशन बनाने के लिए इम्प्लीमेंटेशन पैटर्न और सोर्स कोड उदाहरणों का एक संग्रह है। यह PyQt, PySide, Tkinter, Kivy और Streamlit सहित कई फ्रेमवर्क के लिए संदर्भ इम्प्लीमेंटेशन और आर्किटेक्चरल पैटर्न प्रदान करता है। रिपॉजिटरी विविध इंटरफेस प्रकारों के लिए विशेष उदाहरण प्रदान करके खुद को अलग करती है, जिसमें पेशेवर डेस्कटॉप सॉफ़्टवेयर और नेटिव विंडोज़ से लेकर रिएक्टिव वेब-आधारित डेटा डैशबोर्ड और डेटा साइंस टूल तक शामिल हैं। इसमें क्रॉस-प्लेटफ़ॉर्म UI पैटर्न के लिए विशिष्ट संदर्भ सामग्री शामिल है, जैसे मॉडल-व्यू लेआउट और एसिंक्रोनस बैकग्राउंड टास्क निष्पादन। प्रोजेक्ट लेआउट प्रबंधन, एनिमेशन के साथ कस्टम विजेट डेवलपमेंट, और रियल-टाइम विज़ुअलाइज़ेशन के लिए GPU-एक्सेलेरेटेड रेंडरिंग सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। यह प्रॉक्सी-आधारित फ़िल्टरिंग और टैबुलर डेटा स्टाइलिंग जैसी डेटा प्रबंधन तकनीकों के साथ-साथ एम्बेडेड एसेट्स के साथ डिस्ट्रीब्यूटेबल एक्सेक्यूटेबल्स में सोर्स कोड को पैकेज करने के लिए डिप्लॉयमेंट वर्कफ़्लो का भी प्रदर्शन करता है। उदाहरण इनपुट वैलिडेशन, नेविगेशन मेनू और सिस्टम ट्रे और सिस्टम ट्रे एकीकरण जैसे कार्यात्मक UI कंपोनेंट्स को संबोधित करते हैं, साथ ही यूज़र ऑथेंटिकेशन और रोल-आधारित एक्सेस कंट्रोल के लिए सुरक्षा इम्प्लीमेंटेशन भी शामिल हैं।

    Demonstrates architectural patterns for offloading heavy processing to background threads to maintain interface responsiveness.

    Pythondesktopdesktop-applicationexample-app
    GitHub पर देखें↗4,602
  • isar/hiveisar का अवतार

    isar/hive

    4,390GitHub पर देखें↗

    Hive is a lightweight NoSQL key-value database written in pure Dart for local data persistence. It functions as a type-safe document store that allows for the saving and retrieval of complex data structures and custom objects. The system distinguishes itself through the use of custom adapters for object serialization and symmetric-key encryption to secure data at rest. For web environments, it provides a persistence layer that wraps IndexedDB and utilizes web workers. The project covers broad capability areas including container management, atomic transactional writes, and indexed data retri

    Offloads database operations to background isolates to prevent blocking the main user interface thread.

    Dartdartdatabaseencryption
    GitHub पर देखें↗4,390
  • developit/workerizedevelopit का अवतार

    developit/workerize

    4,378GitHub पर देखें↗

    Workerize एक वेब वर्कर मॉड्यूल लोडर और मुख्य थ्रेड ऑफलोडर है। यह एक एसिंक्रोनस प्रॉक्सी रैपर के रूप में कार्य करता है जो JavaScript मॉड्यूल को बैकग्राउंड वर्कर्स में चलाने की अनुमति देता है, जो कम्प्यूटेशनल रूप से महंगे कार्यों को अलग थ्रेड्स में सौंपकर ब्राउज़र UI फ़्रीज़ को रोकता है। यह प्रोजेक्ट बैकग्राउंड वर्कर के अंदर कार्यों को कॉल करने के लिए एक प्रॉक्सी-आधारित इंटरफ़ेस का उपयोग करता है जैसे कि वे स्थानीय एसिंक्रोनस कॉल हों। यह तंत्र मुख्य थ्रेड प्रतिक्रियाशीलता बनाए रखने के लिए समानांतर वर्कर्स में मॉड्यूल के निष्पादन को सक्षम बनाता है। यह सिस्टम एसिंक्रोनस मॉड्यूल निष्पादन और वेब वर्कर एकीकरण को कवर करता है, जो भारी लॉजिक को प्राथमिक निष्पादन थ्रेड से हटाकर मुख्य थ्रेड अनुकूलन पर केंद्रित है।

    Loads and runs JavaScript modules in Web Workers to move heavy logic off the main thread.

    JavaScript
    GitHub पर देखें↗4,378
पिछला12अगला
  1. Home
  2. Software Engineering & Architecture
  3. Worker Thread Patterns

सब-टैग एक्सप्लोर करें

  • Image Processing OffloadingDistributing computer vision tasks to background threads to maintain high UI frame rates. **Distinct from Worker Thread Patterns:** Specific to offloading heavy image analysis, not generic thread patterns or UI messaging.
  • Inference Threading1 सब-टैगRunning neural network inference in background threads to prevent main-thread blocking. **Distinct from Worker Thread Patterns:** Distinct from Worker Thread Patterns: specifically applies the pattern to the heavy computational load of ML inference.
  • JavaScript Worker Threads2 सब-टैग्सRuns JavaScript in separate OS threads with isolated V8 instances and shared memory via ArrayBuffer transfer. **Distinct from Worker Thread Patterns:** Distinct from Worker Thread Patterns: specifically implements JavaScript worker threads with V8 isolation, not a general task distribution pattern.
  • Physics Simulation ThreadingOffloading heavy physics calculations to background threads to maintain UI responsiveness. **Distinct from Worker Thread Patterns:** Specifically applies worker patterns to physics engines to prevent main-thread blocking
  • Thread-Local Task Bypass PatternsHands a task directly to a worker thread for immediate execution, skipping the global scheduling queue to reduce latency. **Distinct from Worker Thread Patterns:** Distinct from Worker Thread Patterns: focuses on bypassing the global queue for direct thread handoff, not general task distribution.
  • URL Distribution QueuesThread-safe queues used to distribute target URLs across multiple worker threads for parallel data collection. **Distinct from Worker Thread Patterns:** Specifies the use of queues for URL distribution in scraping, distinct from general worker thread patterns.