Worker Pool

Noun · Development

Definitions

  1. A collection of pre-spawned threads or processes that wait for tasks on a shared queue, amortizing the cost of thread/process creation across many jobs and bounding maximum concurrency to prevent resource exhaustion.

    In plain English: A group of ready-to-go background workers that pick up tasks from a queue, avoiding the overhead of creating a new worker for each job.

    Example: "We set the worker pool to 8 threads — one per CPU core — so image resizing saturates the machine without thrashing."

Related Terms