TECHNOLOGY

Dagster pool granularity changes what occupies capacity

In this article
THE QUICK TAKE

Match pool granularity to the resource being protected: an executing step and a whole in-progress run hold capacity over different intervals.

Name the resource whose capacity is scarce

Several research runs share an extraction service, but each run also performs substantial preparation and report formatting. A limit on actively executing extraction steps may fit the service’s capacity. A limit on whole runs measures something broader. Dagster’s concurrency overview separates deployment run queues, cross-run pools and per-run execution limits. Choose the boundary before selecting a number for the setting.

Follow the default step-level pool

The pool guide describes op granularity as the default. Capacity governs the assets or ops actively executing in the pool across runs. Other parts of those runs can still be in progress. This lets unrelated preparation continue while extraction capacity is occupied. It should not be reported as a cap on every in-progress research run containing a future extraction step.

Recognize what run granularity changes

Setting pool granularity to run instead limits in-progress runs containing the associated work. That can occupy admission capacity over a different interval from the extraction step itself. It may be suitable when the entire run holds a scarce environment or when limiting the number of admitted workflows is the intended policy. Changing granularity while leaving the numerical limit unchanged can therefore change throughput even if no model call or extraction code changes.

Keep executor parallelism in its own scope

The executor-limit guide defines max_concurrent for operations within a single run and also describes tagged limits there. These local constraints can complement a cross-run pool. They do not establish a deployment-wide service cap when many runs execute simultaneously. Task budgets should account for how these layers combine rather than reading a local parallelism value as the total possible external load.

Explain waiting using the enforced boundary

Inspect whether a run is waiting for admission or an admitted step is waiting for pool capacity. Preserve the pool name, granularity and affected step in tool observations. A user-facing status can then distinguish queued research from research already preparing documents. This makes a concurrency setting reviewable in terms of the actual resource it protects and avoids mistaking intentionally idle service capacity under a run-level rule for a failed extractor.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles