-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
Deploy preview for dagster-university ready! ✅ Preview Built with commit aa5ef8c. |
Deploy preview for dagster-docs ready! Preview available at https://dagster-docs-kvt9hmzdc-elementl.vercel.app Direct link to changed pages: |
840e884
to
558acb1
Compare
aa5ef8c
to
c15ed10
Compare
c15ed10
to
45ed699
Compare
558acb1
to
a169ead
Compare
45ed699
to
520a23a
Compare
a169ead
to
9db7df6
Compare
520a23a
to
8b6dbf2
Compare
9db7df6
to
3fdabb4
Compare
8b6dbf2
to
895f9e5
Compare
3fdabb4
to
ffc15a7
Compare
895f9e5
to
6e54cc9
Compare
ffc15a7
to
3e86416
Compare
30ce73f
to
49a6f83
Compare
09a67d1
to
e2f8e3b
Compare
49a6f83
to
9f644f3
Compare
e2f8e3b
to
b027576
Compare
9f644f3
to
9c9353d
Compare
b027576
to
c744c73
Compare
9c9353d
to
c5ff268
Compare
c744c73
to
6b99141
Compare
c5ff268
to
cb49dbb
Compare
6b99141
to
212f85d
Compare
777f054
to
dbe80cb
Compare
212f85d
to
cca96cd
Compare
cca96cd
to
e1e5d2b
Compare
There was a problem hiding this 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 |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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.
922963b
to
cf54b0a
Compare
cf54b0a
to
ee26162
Compare
|
||
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" /> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏
## Summary & Motivation Changes the docs to include the pools concept ## How I Tested These Changes Inspection
## Summary & Motivation Changes the docs to include the pools concept ## How I Tested These Changes Inspection
## Summary & Motivation Changes the docs to include the pools concept ## How I Tested These Changes Inspection
## Summary & Motivation Changes the docs to include the pools concept ## How I Tested These Changes Inspection
Summary & Motivation
Changes the docs to include the pools concept
How I Tested These Changes
Inspection