Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to reflect pools concept for concurrency #27171

Merged
merged 4 commits into from
Feb 10, 2025
Merged

Conversation

prha
Copy link
Member

@prha prha commented Jan 16, 2025

Summary & Motivation

Changes the docs to include the pools concept

How I Tested These Changes

Inspection

Copy link

Deploy preview for dagster-university ready!

✅ Preview
https://dagster-university-271kk31vu-elementl.vercel.app
https://prha-concurrency-docs.dagster-university.dagster-docs.io

Built with commit aa5ef8c.
This pull request is being automatically deployed with vercel-action

Copy link

github-actions bot commented Jan 16, 2025

Deploy preview for dagster-docs ready!

Preview available at https://dagster-docs-kvt9hmzdc-elementl.vercel.app

Direct link to changed pages:

@prha prha force-pushed the prha/run_pools_ui branch from 840e884 to 558acb1 Compare January 16, 2025 20:23
@prha prha force-pushed the prha/concurrency_docs branch from aa5ef8c to c15ed10 Compare January 16, 2025 20:23
@prha prha changed the title [automation] Add dagster-dlt and dagster-sling in tox (#27125) Update docs to reflect pools concept for concurrency Jan 16, 2025
@prha prha force-pushed the prha/concurrency_docs branch from c15ed10 to 45ed699 Compare January 16, 2025 20:28
@prha prha requested a review from cmpadden January 16, 2025 20:42
@prha prha force-pushed the prha/run_pools_ui branch from 558acb1 to a169ead Compare January 17, 2025 01:08
@prha prha force-pushed the prha/concurrency_docs branch from 45ed699 to 520a23a Compare January 17, 2025 01:08
@prha prha force-pushed the prha/run_pools_ui branch from a169ead to 9db7df6 Compare January 17, 2025 02:28
@prha prha force-pushed the prha/concurrency_docs branch from 520a23a to 8b6dbf2 Compare January 17, 2025 02:28
@prha prha force-pushed the prha/run_pools_ui branch from 9db7df6 to 3fdabb4 Compare January 17, 2025 02:55
@prha prha force-pushed the prha/concurrency_docs branch from 8b6dbf2 to 895f9e5 Compare January 17, 2025 02:55
@prha prha force-pushed the prha/run_pools_ui branch from 3fdabb4 to ffc15a7 Compare January 17, 2025 22:30
@prha prha force-pushed the prha/concurrency_docs branch from 895f9e5 to 6e54cc9 Compare January 17, 2025 22:30
@prha prha marked this pull request as ready for review January 17, 2025 22:40
@prha prha requested a review from neverett as a code owner January 17, 2025 22:40
@prha prha force-pushed the prha/run_pools_ui branch from ffc15a7 to 3e86416 Compare January 20, 2025 00:28
@prha prha force-pushed the prha/run_pools_ui branch from 30ce73f to 49a6f83 Compare January 22, 2025 19:04
@prha prha force-pushed the prha/concurrency_docs branch from 09a67d1 to e2f8e3b Compare January 22, 2025 19:05
@prha prha force-pushed the prha/run_pools_ui branch from 49a6f83 to 9f644f3 Compare January 22, 2025 19:26
@prha prha force-pushed the prha/concurrency_docs branch from e2f8e3b to b027576 Compare January 22, 2025 19:26
@prha prha force-pushed the prha/run_pools_ui branch from 9f644f3 to 9c9353d Compare January 22, 2025 21:11
@prha prha force-pushed the prha/concurrency_docs branch from b027576 to c744c73 Compare January 22, 2025 21:11
@prha prha force-pushed the prha/run_pools_ui branch from 9c9353d to c5ff268 Compare January 22, 2025 23:22
@prha prha force-pushed the prha/concurrency_docs branch from c744c73 to 6b99141 Compare January 22, 2025 23:22
@prha prha force-pushed the prha/run_pools_ui branch from c5ff268 to cb49dbb Compare January 23, 2025 18:59
@prha prha force-pushed the prha/concurrency_docs branch from 6b99141 to 212f85d Compare January 23, 2025 18:59
@prha prha force-pushed the prha/run_pools_ui branch 2 times, most recently from 777f054 to dbe80cb Compare January 23, 2025 22:09
@prha prha force-pushed the prha/concurrency_docs branch from 212f85d to cca96cd Compare January 23, 2025 22:09
Base automatically changed from prha/run_pools_ui to master January 24, 2025 20:25
@prha prha force-pushed the prha/concurrency_docs branch from cca96cd to e1e5d2b Compare February 8, 2025 00:14
Copy link
Contributor

@neverett neverett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few copyediting suggestions, plus a recommended fix for the failing build -- feel free to re-tag me for another review when you're ready!

@@ -0,0 +1,28 @@
import time
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rename the tbd directory to operate for consistency with the docs. (The code snippets directories are kind of a mess right now, unfortunately.)


For example, you might want to limit the number of ops or assets that are running with a key of `database` across all runs (to limit the load on that database).
Once you have assigned your assets and ops to a concurrency pool, you can configure a pool limit for that pool in your deployment by using the Dagster UI or by using the Dagster CLI.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change 'CLI' to lowercase 'cli' for consistency with documentation standards

Spotted by Graphite Reviewer (based on CI logs)

Is this helpful? React 👍 or 👎 to let us know.

@prha prha force-pushed the prha/concurrency_docs branch from 922963b to cf54b0a Compare February 10, 2025 22:07
@prha prha force-pushed the prha/concurrency_docs branch from cf54b0a to ee26162 Compare February 10, 2025 22:22

You can configure a limit for runs that are tagged with a specific tag key or key-value pair.
<CodeExample filePath="docs_beta_snippets/docs_beta_snippets/guides/operate/concurrency-pool-api.py" language="python" title="Specifying pools on assets and ops" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I suggested the wrong property earlier -- this should be path instead of filePath

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@prha prha merged commit 57dfa25 into master Feb 10, 2025
5 of 7 checks passed
@prha prha deleted the prha/concurrency_docs branch February 10, 2025 22:59
prha added a commit that referenced this pull request Feb 10, 2025
## Summary & Motivation
Changes the docs to include the pools concept

## How I Tested These Changes
Inspection
LoHertel pushed a commit to LoHertel/dagster that referenced this pull request Feb 11, 2025
## Summary & Motivation
Changes the docs to include the pools concept

## How I Tested These Changes
Inspection
braunjj pushed a commit that referenced this pull request Feb 14, 2025
## Summary & Motivation
Changes the docs to include the pools concept

## How I Tested These Changes
Inspection
brentjericho pushed a commit to brentjericho/dagster that referenced this pull request Feb 21, 2025
## Summary & Motivation
Changes the docs to include the pools concept

## How I Tested These Changes
Inspection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants