11 रिपॉजिटरी
Architectural patterns where code execution is restricted to a single main thread to eliminate concurrency locks.
Distinguishing note: Candidates focus on renderers or synchronized multi-threading; this is a general single-threaded runtime model.
Explore 11 awesome GitHub repositories matching software engineering & architecture · Single-Threaded Execution Models. Refine with filters or upvote what's useful.
This project is a read-only archive of historical versions and development records for an early V8-based JavaScript runtime. It functions as an event-driven server-side environment that executes JavaScript code outside of a web browser. The archive preserves the identity of the runtime as an evented I/O framework, designed for handling asynchronous network and file system operations through a non-blocking event loop. It provides access to read-only records of old issues and pull requests to track the evolution of these legacy versions. The project covers the domain of server-side execution a
Executes JavaScript on a single main thread to avoid complex locking and shared state concurrency.
Perfect Green Screen Keys
Runs the entire keying pipeline on a single thread per clip for simplicity and deterministic output.
This project provides a version of the Redis 3.0 codebase featuring detailed technical commentary and annotations. It serves as a technical resource for studying the internal design and implementation of an in-memory key-value store and the architecture of a networked NoSQL database. The documentation focuses on the implementation of the Redis Sentinel system, covering the mechanisms used for monitoring instance health, managing automatic failover, and notifying clients of primary node changes. The project covers broader architectural areas including in-memory data storage, high availability
Employs a single-threaded execution model to process requests sequentially and eliminate locking overhead.
Actix is a Rust actor framework and concurrent programming toolkit designed for building applications that manage state through an asynchronous messaging system. It provides a model where independent actors serve as autonomous units of state and logic, communicating via strongly typed messages sent to unique addresses. The framework distinguishes itself by isolating state within these actors, allowing internal data to be mutated safely during message handling without the use of locks or mutexes. It employs an asynchronous mailbox system to buffer incoming requests and uses supervision strateg
Ensures thread-safe state mutation by processing messages sequentially within a single-threaded actor execution model.
This is a vanilla JavaScript DOM manipulation library that provides a collection of native methods for selecting, creating, and modifying HTML DOM elements without any framework dependencies. It operates directly on the live DOM tree using imperative JavaScript calls, wrapping standard browser DOM APIs into reusable utility functions. The library covers the full spectrum of DOM operations including element selection, creation, removal, content and attribute management, event handling, style and class manipulation, and DOM traversal. It includes approaches for cross-browser DOM compatibility,
Runs all DOM manipulations synchronously on the main browser thread without async scheduling or batching.
Lite XL is a lightweight, cross-platform text editor built around a minimal C core that embeds a Lua interpreter, allowing the entire editor interface and functionality to be scripted and customized through Lua. It draws text and UI elements directly to a pixel buffer using a single-threaded event loop, bypassing heavyweight widget toolkits to keep the editor fast and responsive even on low-resource hardware. The editor distinguishes itself through its Lua-based plugin architecture and file-based configuration system, where settings, keybindings, and plugin metadata are stored as plain Lua fi
Processes input, rendering, and plugin execution sequentially on one thread, avoiding concurrency complexity and keeping resource usage low.
Vuido is a framework for building native desktop applications for Windows, macOS, and Linux using Vue.js components, without requiring Electron or Chromium. It maps Vue components directly to native widgets from the libui library, creating lightweight applications that run on a single-threaded event loop and compile templates at build time for optimized runtime performance. The framework provides a complete Vue.js component-to-native bridge, enabling two-way data binding via v-model, component-based window composition, and platform-specific package generation for distributing executables. It
Runs the application's main loop on a single thread, processing user input and UI updates synchronously.
Doctrine Event Manager is a PHP library that implements a publish-subscribe pattern for decoupled application communication. It provides a simple event bus that dispatches named events to registered listeners, enabling components to communicate without direct method calls and promoting loose coupling and extensibility in PHP projects. The library manages listener callbacks in a central registry keyed by exact event name strings for fast lookup, and invokes listeners in priority sequence for controlled reaction order during event dispatch. It maintains no internal state between dispatches, rel
Invokes all listeners sequentially on the same thread, ensuring predictable and deterministic execution.
Reactor Core JVM पर एसिंक्रोनस डेटा पाइपलाइनों को कंपोज़ करने के लिए एक रिएक्टिव प्रोग्रामिंग टूलकिट और नॉन-ब्लॉकिंग आधार है। यह एक एसिंक्रोनस स्ट्रीम प्रोसेसिंग फ्रेमवर्क और बैकप्रेशर प्रबंधन प्रणाली के रूप में कार्य करता है, जो डेवलपर्स को इवेंट्स के अनुक्रमों को बदलने, फ़िल्टर करने और संयोजित करने की अनुमति देता है, जबकि संसाधन थकावट को रोकने के लिए उत्पादकों और उपभोक्ताओं के बीच डेटा प्रवाह को नियंत्रित करता है। लाइब्रेरी एक परिष्कृत समवर्ती शेड्यूलिंग प्रणाली और मांग-आधारित प्रवाह नियंत्रण के माध्यम से खुद को अलग करती है। यह एक शेड्यूलर रजिस्ट्री का उपयोग करके विशिष्ट थ्रेड्स से सिग्नल प्रोसेसिंग को अलग करती है और एसिंक्रोनस सीमाओं के पार अपरिवर्तनीय मेटाडेटा के संदर्भ-जागरूक प्रसार के लिए तंत्र प्रदान करती है। इसमें असेंबली-टाइम ट्रेस कैप्चर और समय-आधारित ऑपरेटरों के परीक्षण को सुविधाजनक बनाने के लिए वर्चुअल-टाइम शेड्यूलिंग के लिए विशेष उपकरण भी शामिल हैं। यह प्रोजेक्ट अनुक्रम एकत्रीकरण और विंडोइंग के लिए कार्यात्मक डेटा प्रोसेसिंग, घातीय बैकऑफ़ रिट्रीज़ जैसी विभिन्न त्रुटि पुनर्प्राप्ति रणनीतियों और रिएक्टिव स्ट्रीम में लीगेसी कॉलबैक या सिंक्रोनस API को ब्रिज करने के लिए उपयोगिताओं सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करता है। यह पाइपलाइन निगरानी के लिए इंस्ट्रूमेंटेशन और सिग्नल अनुक्रमों को सत्यापित करने के लिए परीक्षण उपकरणों का एक सूट भी प्रदान करता है।
Converts asynchronous events from a single producing thread into a reactive stream while managing backpressure.
Macroquad एक Rust गेम इंजन और 2D ग्राफिक्स लाइब्रेरी है जिसे क्रॉस-प्लेटफ़ॉर्म गेम और ग्राफिकल एप्लिकेशन विकसित करने के लिए डिज़ाइन किया गया है। यह एक रेंडरिंग इंजन के रूप में कार्य करता है जो डेस्कटॉप, मोबाइल और वेब लक्ष्यों के लिए एक एकल कोडबेस की तैनाती को सक्षम बनाता है। यह इंजन एक इमीडिएट मोड रेंडरिंग मॉडल का उपयोग करता है, जो यूजर इंटरफेस और गेम वर्ल्ड बनाने की अनुमति देता है जो मुख्य एप्लिकेशन लूप के भीतर एक ही पास में रेंडर होते हैं। यह दृष्टिकोण हार्डवेयर-त्वरित 2D रेंडरिंग और विभिन्न हार्डवेयर उपकरणों पर ज्यामिति के प्रदर्शन को अनुकूलित करने के लिए स्वचालित ड्रा कॉल बैचिंग के साथ जोड़ा गया है। यह फ्रेमवर्क एप्लिकेशन को नेटिव बाइनरी या वेब-आधारित तैनाती के लिए WebAssembly में कंपाइल करने के लिए एक एकीकृत बिल्ड पाइपलाइन प्रदान करता है। इसमें जेनेरिक इनपुट और ग्राफिक्स कॉल को प्लेटफ़ॉर्म-विशिष्ट सिस्टम API पर मैप करने के लिए एक हार्डवेयर एब्स्ट्रैक्शन लेयर शामिल है।
Employs a single-threaded execution loop to simplify game logic and rendering synchronization.
EventMachine, Ruby के लिए एक रिएक्टर-पैटर्न नेटवर्क फ्रेमवर्क है जो नॉन-ब्लॉकिंग नेटवर्क और फ़ाइल ऑपरेशन्स करने के लिए एक एसिंक्रोनस I/O लाइब्रेरी प्रदान करता है। यह एक नेटवर्क सर्वर फ्रेमवर्क के रूप में कार्य करता है जिसका उपयोग स्केलेबल TCP और UDP सर्वर और क्लाइंट बनाने के लिए किया जाता है जो एक साथ कई अनुरोधों को प्रोसेस करते हैं। यह फ्रेमवर्क एक कॉनकरेंसी मॉडल लागू करता है जो सिंगल-थ्रेडेड इवेंट लूप का उपयोग करके रजिस्टर्ड हैंडलर्स को नेटवर्क इवेंट्स भेजता है। यह दृष्टिकोण मल्टी-थ्रेडेड प्रोग्रामिंग के ओवरहेड के बिना हाई-कॉनकरेंसी नेटवर्क कनेक्शन को मैनेज करने की अनुमति देता है। यह लाइब्रेरी इवेंट-ड्रिवन सर्वर, एसिंक्रोनस नेटवर्क क्लाइंट और नेटवर्क प्रॉक्सी इम्प्लीमेंटेशन के विकास को कवर करती है। यह विशिष्ट इवेंट्स होने पर क्रियाओं को ट्रिगर करने के लिए फ़ाइलों और नेटवर्क की निगरानी करने की क्षमता भी प्रदान करती है।
Handles thousands of simultaneous connections on one thread to eliminate locking and context switching overhead.