﻿# Dagster pool granularity changes what occupies capacity

Dagster concurrency pools can limit active steps or in-progress runs; pool granularity determines which work occupies capacity and differs from per-run executor limits.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-dagster-pool-run-op-granularity/
Language: en

## 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](https://dagster.io/docs/guides/operate/managing-concurrency) 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](https://dagster.io/docs/guides/operate/managing-concurrency/concurrency-pools) 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](https://dagster.io/docs/guides/operate/managing-concurrency/run-executor-limits) 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](/journal/learn-codex-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](/journal/learn-codex-tool-observation/). 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.
