Skip to main content

Module pool

Module pool 

Source
Expand description

Morsel-style query-level bounded worker pool for dynamic partition execution.

Workers are created once per query. Partition tasks are dynamically claimed from a shared atomic counter — a “morsel queue” — providing natural load balancing: faster workers automatically process more partitions.

This is the only parallel execution mechanism (replaces the per-Gather ParallelPartitionCoordinator). The TaskScheduler trait abstracts over pool implementations.

Structs§

BufferedChunk
MorselWorkerPool
Query-level bounded worker pool with morsel-style dynamic task assignment.
PartitionBatch
A batch of partition tasks submitted to the pool for execution.
PartitionHandle
Handle for consuming results from a submitted batch.
SharedScheduler
Engine-level shared scheduler.

Enums§

PartitionMessage

Traits§

TaskScheduler
Abstract task scheduler for parallel partition execution.