1 مستودع
Replaces the default FIFO queue with a custom implementation to control task ordering and execution priority.
Distinct from Task Queues: Distinct from Task Queues: focuses on the ability to swap the queue implementation itself, not just grouping tasks into named queues.
Explore 1 awesome GitHub repository matching devops & infrastructure · Pluggable Ordering. Refine with filters or upvote what's useful.
Piscina is a Node.js worker thread pool that runs CPU-intensive JavaScript functions across multiple threads for parallel execution. It manages a dynamic pool of worker threads with configurable size, handling task submission, cancellation, and lifecycle management through a promise-based interface. The pool supports AbortController-based task cancellation, enabling clean termination of submitted or running tasks without disrupting other work. It enforces per-worker memory limits through V8 resource caps and applies backpressure with a configurable maximum queue size that emits a drain event
Supports pluggable queue ordering to replace default FIFO with custom priority or deadline logic.