1 个仓库
Executing sets of asynchronous jobs in chunks limited by concurrency to avoid overloading resources.
Distinct from Asynchronous Batch Processing: Distinct from general asynchronous batch processing by focusing specifically on the concurrency-limiting aspect for resource protection.
Explore 1 awesome GitHub repository matching artificial intelligence & ml · Concurrency-Limited Batching. Refine with filters or upvote what's useful.
p-queue 是一个 JavaScript Promise 队列和并发任务调度器,旨在限制活动异步操作的数量。它作为一个异步速率限制器和 Promise 生命周期管理器,以防止资源耗尽。 该项目以基于优先级的任务调度和令牌桶速率限制来控制执行频率而脱颖而出。它与用于任务取消的中止信号集成,并提供暂停、恢复和清除挂起操作的机制。 该工具涵盖了更广泛的流量管理能力,包括操作超时和并发限制。它还包括用于跟踪队列状态和挂起任务计数的监控原语,以及用于队列空闲的同步机制。
Enables processing large sets of asynchronous jobs in controlled chunks to avoid overloading memory or database connections.