17 个仓库
Systems for scheduling and executing non-blocking tasks within a specific execution context or event loop.
Distinct from Task Execution: The candidates focus on high-level automation, script execution, or AI workflows, whereas this is a low-level systems programming capability for event-loop task dispatching.
Explore 17 awesome GitHub repositories matching operating systems & systems programming · Asynchronous Task Execution. Refine with filters or upvote what's useful.
gnet 是一个高性能的 Go 事件驱动网络框架,专为构建可扩展的 TCP、UDP 和 Unix Socket 服务器而设计。它充当非阻塞 Socket 管理器和多 Reactor 网络引擎,能够以极低的内存开销处理数千个并发连接。 该框架的独特之处在于采用了多 Reactor 架构,将 I/O 分布在绑定到操作系统线程的多个事件循环上,从而最大限度地减少上下文切换。它利用边缘触发(edge-triggered)轮询来降低系统调用频率,并使用弹性环形缓冲区(elastic ring-buffers)来最小化内存分配成本和垃圾回收压力。 该库涵盖了广泛的网络功能,包括跨 CPU 核心的负载均衡连接分配、通过工作池(worker pools)执行异步任务,以及用于连接生命周期管理的结构化系统。它还提供了用于实现自定义二进制协议和管理底层 Socket 选项的原语。
Schedules and executes non-blocking tasks within the event loop using a priority-based poller.
pysheeet 是一个技术参考库,提供了一系列精选的代码片段和实现模式,用于高级 Python 开发、系统集成和高性能计算。它充当实现底层网络编程、原生 C 扩展以及异步和并发编程的综合指南。 该项目为大语言模型的开发和部署提供了专门的框架,包括用于分布式 GPU 推理和高性能服务的工具。它还包括用于高性能计算集群编排的详细模式,涵盖 GPU 资源分配和多节点工作负载管理。 该库涵盖了广泛的功能,包括安全网络通信和加密、对象关系映射和数据库管理,以及复杂数据结构和算法的实现。它还提供用于内存管理、通过外部函数接口(FFI)进行原生互操作以及系统级 OS 集成的实用程序。
Implements systems for scheduling and executing non-blocking tasks within Python event loops.
fio 是一个存储性能基准测试工具和合成 I/O 工作负载生成器。它作为一个存储设备分析器和 I/O 跟踪重放引擎,能够测量存储设备和文件系统的吞吐量与延迟。 该项目以其作为分布式存储压力测试工具的能力而著称,通过单个控制器管理多个远程服务器后端来评估网络存储。它还包括用于存储去重分析的专门功能,通过生成冗余数据缓冲区来测试去重子系统的效率。 该工具涵盖了广泛的功能,包括模拟具有可控块大小和 I/O 深度的复杂 I/O 工作负载、分析 CPU 空闲状态以及收集设备统计信息。它通过性能指标可视化、延迟直方图和稳态监控提供可观测性。 工作负载可以通过命令行参数或详细的配置文件触发,以自动化复杂的基准测试场景。
Executes asynchronous operations on dedicated threads to prevent the main execution path from blocking.
Flashlight is a C++ machine learning library and deep learning framework designed for building and training neural networks. It functions as a tensor manipulation library and an automatic differentiation engine that tracks operations to calculate gradients via backpropagation for model optimization. The project is distinguished by its role as a distributed training framework, utilizing all-reduce gradient synchronization and distributed environments to scale machine learning workloads across multiple nodes and devices. It features a backend-agnostic memory interface and RAII-based management
Distributes computational work across multiple CPU cores using a thread pool for simultaneous operation processing.
Reactor Core is a reactive programming toolkit and non-blocking foundation for composing asynchronous data pipelines on the JVM. It serves as an asynchronous stream processing framework and a backpressure management system, allowing developers to transform, filter, and combine sequences of events while regulating data flow between producers and consumers to prevent resource exhaustion. The library differentiates itself through a sophisticated concurrency scheduling system and demand-based flow control. It decouples signal processing from specific threads using a scheduler registry and provide
Executes asynchronous tasks using a specialized work-stealing scheduler for high-performance task dispatching.
opencv4nodejs 是一组 JavaScript 包装器和 C++ 原生插件,为 OpenCV 库提供 Node.js 绑定。它作为一个计算机视觉库和图像处理框架,将高性能的 C++ 算法暴露给 JavaScript 环境。 该项目支持执行视觉算法,用于检测人脸、追踪物体以及使用深度神经网络分析视觉数据。它包括用于数据模式分类、文本模式识别以及识别人脸特征点和手势的能力。 该框架涵盖了广泛的能力面,包括自动化图像处理、光学字符识别(OCR)和实时视频分析。它提供了用于矩阵算术运算、像素数据访问以及管理图像文件和实时视频捕获的工具。资源管理通过异步任务执行和外部内存追踪来处理,以保持事件循环的响应性。
Offloads heavy computer vision computations to background threads to prevent blocking the Node.js event loop.
CliWrap 是一个异步进程管理器和子进程包装库,用于执行外部命令并将命令行界面集成到应用程序中。它提供了一个框架,用于使用异步模式启动外部程序、管理子进程并验证退出代码。 该库的独特之处在于它能够将标准输入、输出和错误流路由到内存缓冲区或实时事件流。它支持对进程输出行进行实时监控,并支持通过取消令牌(cancellation tokens)终止进程。 该项目涵盖了广泛的外部进程管理功能,包括环境变量配置、标准流重定向以及捕获进程输出以作为应用程序内的数据使用。
Executes non-blocking system tasks within an asynchronous event loop context.
Amp 是一个 PHP 的非阻塞并发框架。它为编写异步应用提供了核心基础设施,使用事件循环在单个进程内调度操作、计时器和信号。 该项目实现了一个利用纤程 (fibers) 来挂起和恢复函数执行的协程库。这允许系统在不阻塞主执行线程的情况下处理并发任务,从而在输入和输出操作期间优化 CPU 使用率。它进一步通过 Future 和 Promise 实现来管理挂起的操作结果。 该框架涵盖了广泛的协调功能,包括非阻塞 I/O 多路复用、用于中止长时间运行操作的基于令牌的任务取消,以及用于等待多个并发任务完成的策略。它还包括用于循环任务调度和执行暂停的机制。
Executes functions as interruptible units of work to allow other operations to run during waits.
Failsafe is a JVM fault tolerance library and resilience pattern framework. It provides a toolkit for implementing circuit breakers, rate limiters, and other stability patterns within Java Virtual Machine applications to prevent cascading failures in distributed systems. The project is distinguished by its policy-based execution pipeline, which allows for the composition of multiple resilience patterns into a sequential flow. It features a state-machine circuit breaker to manage service recovery and a leaky-bucket rate limiter to control operation frequency. The library covers a broad range
Executes tasks in the background using resilience policies to prevent the main execution thread from blocking.
该项目是一部翻译后的历史编年史和编程语言参考,记录了 JavaScript 二十多年来的技术演进和标准化过程。它作为一个软件工程档案,追踪语言草案版本以及各标准机构对语言发展的影响。 该仓库提供了对全面历史的中文翻译,分析了生态系统中的社会政治和技术里程碑。它映射了语言里程碑并记录了官方规范的发展,以提供关于语言如何演变的背景信息。 文档涵盖了核心语言概念,包括异步流、对象模型和内存管理。它还包括行业贡献者目录以及技术术语和架构模式的词汇表。
Explains the mechanism of asynchronous task execution via the JavaScript event loop.
该项目是一个教育资源,提供了一个全面的开发教程,用于在 Linux 内核中使用 C、Go 和 Rust 编写并加载 eBPF 程序。它作为一个技术指南,用于开发直接在内核中执行的自定义逻辑。 这些材料涵盖了专门的领域,包括内核可观测性和追踪、用于入侵检测的安全实现,以及用于包过滤和负载均衡的高性能网络工程。它还包括用于 Linux 内核追踪以及使用 kprobes、uprobes 和 tracepoints 的专用手册。 该项目涵盖了广泛的功能领域,如内核插桩、系统监控和可观测性、网络分析以及安全强制执行。它进一步扩展到 GPU 和驱动程序的硬件级调试,以及底层系统操作和资源管理。
Executes background work and memory allocations using workqueues to prevent blocking the main execution path.
async-std 是一个 Rust 异步运行时和非阻塞 I/O 库。它作为一个异步标准库,提供了一组核心 Rust 库的替代方案,用于管理并发任务、网络和文件系统访问。 该项目实现了与标准库镜像的 API,提供现有同步类型的异步版本以保持熟悉的接口。这种方法允许使用反映语言标准库人体工程学的接口进行异步 Rust 开发。 该运行时包括一个用于跨多个线程调度和执行异步操作的任务执行器。其功能表面涵盖并发任务执行、非阻塞输入和输出操作以及常规运行时管理。
Enables the execution of non-blocking system tasks like networking and file access.
该项目是一个综合性的 iOS 应用开发框架,专注于构建具有自定义用户界面组件、异步任务管理和本地数据持久化的移动应用。它作为软件工程的技术知识库,提供用于以 Markdown 格式组织和发布架构分析与笔记的工具。 该框架通过一个强大的基于文档的存储层脱颖而出,该层利用 BSON 格式的记录在 NoSQL 文档存储中执行 CRUD 操作。它提供广泛的系统集成功能,包括专门的应用扩展通信、跨沙盒消息传递和原生共享表单呈现,从而允许宿主应用与系统级服务之间的无缝交互。 该项目涵盖了广泛的功能面,包括具有线程安全同步的高级并发管理、卸载到后台的 UI 渲染以保持响应性,以及全面的国际化支持。它还包括面向开发者的工具,用于静态类型生成、自动化资源映射和交互式原型构建,以及用于地理信标监控和自适应图表生成的专门工具。
Submits tasks to queues and returns control to the calling thread immediately to maintain responsiveness.
Celluloid is a concurrent object framework for the Ruby language. It implements the actor model to enable the construction of multithreaded programs where objects communicate through asynchronous message passing to avoid shared state locks. The framework provides a system for managing asynchronous interactions without manual locking or thread management. It utilizes actor-based object orientation to handle parallel execution and non-blocking tasks. The project covers several architecture and capability areas, including mailbox-driven execution, fiber-based task scheduling, and proxy-based me
Allows running long-running operations in the background without blocking the main execution flow.
IREE is an MLIR-based compiler toolchain and runtime designed to translate machine learning models from various frameworks into optimized binaries for execution across diverse hardware targets. It provides a unified pipeline to ingest models from PyTorch, TensorFlow, JAX, and ONNX, lowering them into a common intermediate representation for deployment on CPUs, GPUs, and bare-metal embedded systems. The project distinguishes itself through a bytecode virtual machine and a hardware abstraction layer that decouple high-level model logic from specific hardware instruction sets. It supports sophis
Implements a low-level systems programming capability for scheduling non-blocking tasks via user-mode fibers to hide device latency.
该项目为 Node-API 提供了一个仅包含头文件的 C++ 包装器,作为构建 Node.js 高性能原生插件的框架。它充当 C++ 与 JavaScript 之间的桥梁,提供了一个面向对象的接口,简化了编译扩展的创建,同时管理了语言边界的复杂性。 该库通过为数据编组和内存管理提供类型安全抽象而脱颖而出,确保原生和脚本端对象被正确追踪和回收。它包括用于协调后台线程与主事件循环之间异步任务的机制,在卸载密集型计算的同时防止数据损坏。此外,它将原生异常映射到标准脚本错误类型,确保一致的诊断报告和故障处理。 除了其核心桥接功能外,该项目还支持原生开发的整个生命周期,包括将 C++ 类和方法暴露给 JavaScript 运行时。它提供了用于管理环境生命周期、自动化代码迁移以及执行性能基准测试以评估原生组件行为的工具。
Offloads computationally expensive operations to background threads and returns results to the main event loop.
This repository provides a comprehensive collection of functional code samples designed to demonstrate modern development patterns and architectural practices for the Android platform using Kotlin. It serves as a practical guide for implementing standard design patterns that decouple business logic from user interface components, ensuring that applications remain maintainable and testable. The project distinguishes itself by offering isolated, hands-on implementations of complex mobile programming tasks. It covers a wide range of capabilities, including asynchronous networking, local database
Performs multiple background operations simultaneously and manages execution flow.