16 个仓库
Running lightweight, non-blocking fibers that scale to millions of concurrent tasks.
Distinct from Concurrent Task Execution: Distinct from Concurrent Task Execution: uses fibers instead of coroutines or threads.
Explore 16 awesome GitHub repositories matching software engineering & architecture · Fiber-Based Concurrent Execution. Refine with filters or upvote what's useful.
Wren is an embeddable, class-based scripting language and bytecode interpreter. It provides a dependency-free virtual machine designed for integrating dynamic script execution into host applications via a C API. The language is centered on a modern object-oriented model featuring inheritance, method overloading, and first-class functions. It utilizes a concurrent fiber runtime to manage lightweight, cooperatively scheduled execution paths without relying on operating system threads. The project includes a comprehensive suite of object-oriented primitives, closure-based state capture, and a m
Implements a concurrent runtime based on lightweight fibers and cooperative scheduling to handle asynchronous workflows.
Gevent is a Python coroutine concurrency library and asynchronous task manager designed for high-concurrency I/O tasks. It provides a cooperative networking framework for building asynchronous TCP, UDP, and HTTP servers, as well as a WSGI web server implementation for hosting web applications. The project is distinguished by its standard library monkey-patching tool, which replaces blocking synchronous functions with cooperative versions to enable asynchronous behavior in third-party code. This allows for a cooperative multitasking workflow where the system yields execution during I/O waits t
Uses lightweight pseudo-threads (greenlets) to manage thousands of simultaneous tasks without OS thread overhead.
A True Instrumentable Binary Emulation Framework
Provides a command-line utility to quickly emulate shellcode or executable files with debugging options.
GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add
Uses non-blocking fibers to execute independent data fetches concurrently and reduce request latency.
Lunatic 是一个 WebAssembly 运行时和并发进程管理器,实现了 Erlang 风格的轻量级并发和容错模型。它作为一个分布式 Actor 系统运行,其中隔离的进程通过跨链接节点网络的异步消息传递进行通信。 该系统利用 WebAssembly 沙箱环境来隔离内存并限制每个单独进程的系统调用权限。这种基于能力的安全模型确保进程被沙箱化,以安全地执行不受信任的代码。 该平台提供用于分层监控和失败进程自动重启的容错监督树。它使用抢占式工作窃取调度程序来执行数千个轻量级绿色线程,从而管理高并发工作负载。 该运行时支持分布式系统协调,通过跨不同物理机器集群节点,并处理 TCP 和 WebSocket 等协议的网络流量。
Executes isolated, lightweight tasks in a high-concurrency environment to prevent individual failures from impacting the system.
本项目是一个红队知识库和进攻性安全手册,旨在模拟对手行为。它作为技术指南和战术的综合集合,用于执行红队行动。 该存储库提供了 Active Directory 渗透测试的详细说明,包括 Kerberos 滥用和域权限提升。它涵盖了通过 API 解钩 (unhooking) 和载荷混淆进行的防御规避,以及涉及内核对象和系统内存操作的 Windows 内部研究。 功能范围扩展到网络渗透测试、恶意软件分析与工程,以及进攻性安全基础设施的部署。它还包括在企业环境中进行横向移动、持久化和数据外泄的方法。
Implements fiber-based execution to run shellcode within local processes and evade API monitoring.
Quasar 是一个 JVM 并发框架,实现了 Actor 模型和一个轻量级线程库。它提供隔离的执行单元,通过异步消息传递进行通信,以消除共享的可变状态。 该项目通过一个能够在多个集群节点上运行的分布式 Actor 系统脱颖而出,该系统具有位置透明的注册表和 Actor 状态迁移功能。它利用工作窃取(work-stealing)Fiber 调度器来管理数百万个轻量级线程,允许任务在非阻塞 I/O 操作期间挂起,而不会阻塞底层的系统线程。 该框架包含广泛的功能,包括用于容错恢复的监督层次结构和用于数据流同步的 CSP 风格通信通道。它还提供了通过 Future 和数据流变量协调任务的原语,以及用于监控 Fiber 健康状况和检测失控执行的工具。 该系统使用 Java 实现。
Runs millions of lightweight, non-blocking fibers to achieve high concurrency with minimal resource overhead.
Gravity 是一种可嵌入的、字节码编译的编程语言,旨在为宿主应用程序提供可编程逻辑。它是一种垃圾回收语言,利用标记清除系统来自动化内存管理并防止泄漏。 该语言的特点是基于并发纤程 (Fiber) 的执行模型,允许同时运行多个非阻塞任务。它还是一种 JSON 原生语言,具有内置的序列化工具,可将复杂数据结构与 JSON 格式进行相互转换。 该项目包括一个虚拟机和一个编译器,将源代码转换为便携式字节码格式以提高执行速度。
Executes multiple non-blocking execution flows using lightweight fibers for high concurrency.
Amp 是一个 PHP 的非阻塞并发框架。它为编写异步应用提供了核心基础设施,使用事件循环在单个进程内调度操作、计时器和信号。 该项目实现了一个利用纤程 (fibers) 来挂起和恢复函数执行的协程库。这允许系统在不阻塞主执行线程的情况下处理并发任务,从而在输入和输出操作期间优化 CPU 使用率。它进一步通过 Future 和 Promise 实现来管理挂起的操作结果。 该框架涵盖了广泛的协调功能,包括非阻塞 I/O 多路复用、用于中止长时间运行操作的基于令牌的任务取消,以及用于等待多个并发任务完成的策略。它还包括用于循环任务调度和执行暂停的机制。
Utilizes PHP fibers to execute lightweight, non-blocking coroutines that scale concurrent tasks efficiently.
Janet is a Lisp-based dynamic programming language featuring a register-based bytecode virtual machine and an embeddable scripting engine. It functions as a fiber-based concurrency runtime and includes a parsing engine based on Parsing Expression Grammars. The project is distinguished by its ability to be integrated into C or C++ applications via a minimal header interface. It utilizes a Lisp-style macro system for compile-time code transformation and employs prototype-based table inheritance for object-oriented behavior. The runtime covers a broad set of capabilities, including asynchronous
Manages lightweight, non-blocking fibers that yield and resume to handle concurrent IO-bound tasks.
ZIO is a functional effect system for the JVM that models asynchronous and concurrent programs as pure, composable values with typed error handling and dependency injection. Its core identity is built on fiber-based concurrency, where lightweight, non-blocking fibers execute millions of concurrent tasks with structured lifecycle management, and a dual-channel error model that separates expected business failures from unexpected system defects at compile time. The system provides effect-typed dependency injection through a layer-based dependency graph, pull-based reactive stream processing with
Runs millions of lightweight, non-blocking fibers with structured lifecycle management.
Luvit 是一个集成了 libuv 的 Lua 事件驱动运行时,提供非阻塞 I/O 和异步系统操作。它作为一个异步网络框架和执行环境,利用即时 (JIT) 编译实现高性能脚本处理。 该平台通过 TCP 集群管理器在多个 CPU 核心之间分配网络流量,该管理器在子进程之间共享套接字句柄。它为构建 HTTP 服务器提供了专门的功能,通过流处理器解码传入的请求流并编码响应。 该运行时支持通用的事件驱动应用程序开发、异步网络编程,以及集成编译后的二进制模块以扩展底层语言功能。用户可以通过读取-求值-输出循环 (REPL) 与环境交互,执行独立脚本,或通过命令行评估代码片段。
Pauses execution during I/O operations using coroutines to prevent blocking the main event loop.
ruby_llm is an LLM integration framework and AI agent orchestrator designed to connect applications to multiple large language model providers through a unified interface. It serves as a toolkit for building autonomous assistants with custom personas, managing structured output via JSON schemas, and implementing vector embedding engines for semantic search. The project distinguishes itself as an observability suite and multimodal toolkit. It provides specialized capabilities for tracking token usage, calculating model costs, and tracing workflows via OpenTelemetry, while supporting the proces
Utilizes lightweight fibers to execute multiple tool calls and AI requests in parallel without blocking the main process.
MadelineProto is an asynchronous PHP library that provides a programmatic interface for interacting with the Telegram API using the MTProto protocol, the same protocol used by official Telegram clients. It functions as both a Telegram bot SDK and a userbot automation library, enabling PHP applications to connect to Telegram as either a bot account or a regular user account, sending and receiving messages, media, and other data directly without relying on the Bot API intermediary. The library is built on an event-driven architecture with Amp v3 fiber-based concurrency, allowing for non-blockin
Provides fiber-based cooperative multitasking for non-blocking async operations within a single-threaded event loop.
OffensiveNim is a red teaming framework and post-exploitation toolkit developed in Nim. It provides a collection of low-level primitives and a Windows API wrapper designed for offensive security operations, including malware development and shellcode loading. The project focuses on evasion and obfuscation through techniques such as API unhooking, direct system calls, and anti-debugging mechanisms. It features diverse payload delivery methods, including reflective binary loading, the execution of .NET assemblies via CLR hosting, and various shellcode injection techniques using fibers, COM obje
Runs machine code in a new fiber to decouple the execution flow from the main process thread.
This project is a framework for building concurrent, event-driven applications in Ruby. It provides a core engine that orchestrates non-blocking input and output operations, allowing developers to handle high-volume network traffic and system tasks without the complexity of traditional callback-based programming. By leveraging lightweight fibers, the library enables cooperative multitasking that maintains responsiveness during heavy data processing workloads. The framework distinguishes itself through a structured concurrency model that organizes tasks into parent-child hierarchies. This appr
Leverages lightweight fibers to handle high-volume network communication without callback complexity.