2 个仓库
Runs long-running or periodic work outside the request-response cycle using a channel layer and worker processes.
Distinct from Background Processing Workers: Distinct from Background Processing Workers: uses a channel layer for message passing, not just threading for UI responsiveness.
Explore 2 awesome GitHub repositories matching web development · Channel-Based Workers. Refine with filters or upvote what's useful.
Channels is an extension for the Django web framework that adds native support for WebSockets, background tasks, and long-running connections alongside standard HTTP requests. It provides a channel layer abstraction for passing messages between different parts of a Django application across processes, along with a protocol router that inspects incoming connections and dispatches them to the correct handler for HTTP, WebSocket, or custom protocols. The project introduces an async consumer abstraction that wraps protocol-specific handling into a single callable, and a background worker pool tha
Runs long-running or periodic work outside the request-response cycle using a channel layer and worker processes.
Tunny 是 Go 语言的 worker 池库和并发管理器。它作为并发任务调度器,限制并行处理作业的 worker 数量,以防止系统资源耗尽。 该项目支持在单个 worker 例程中维护持久状态,以避免重复的初始化成本。它还支持动态 worker 扩缩容,允许在不中断正在进行任务的情况下实时调整后台 worker 的数量。 该库提供了任务超时强制执行和 worker 生命周期管理机制,包括例程池的优雅关闭。它利用并发限制来限制活动 goroutine 的总数。
Implements worker pools that use Go channels to distribute tasks and manage concurrency.