1 مستودع
Enables custom ordering strategies for task queues, replacing default FIFO with user-defined logic.
Distinct from Priority Queues: Distinct from Priority Queues: allows any user-defined ordering, not just priority-based.
Explore 1 awesome GitHub repository matching software engineering & architecture · Pluggable Queue Orderings. 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 custom queue ordering implementations for controlling task execution priority and deadlines.