-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
[AIRFLOW-XXX] Documents about task_concurrency and pool #5262
Conversation
842c90b
to
66e2487
Compare
Codecov Report
@@ Coverage Diff @@
## master #5262 +/- ##
==========================================
- Coverage 78.66% 78.66% -0.01%
==========================================
Files 470 470
Lines 30013 30013
==========================================
- Hits 23610 23609 -1
- Misses 6403 6404 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #5262 +/- ##
=======================================
Coverage 78.66% 78.66%
=======================================
Files 470 470
Lines 30013 30013
=======================================
Hits 23610 23610
Misses 6403 6403 Continue to review full report at Codecov.
|
- ``max_active_runs``: the Airflow scheduler will run no more than ``max_active_runs`` DagRuns of your DAG at a given time. If you do not set the ``max_active_runs`` in your DAG, the scheduler will use the default value from the ``max_active_runs_per_dag`` entry in your ``airflow.cfg``. | ||
|
||
- ``pool``: This variable controls the number of concurrent running task instances assigned to the pool. |
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.
Personally I think pool
is too specific to be put in this section.
On the other hand, if folks agree it's a good idea to add this here, you need to update line 175 ;-)
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.
Good catch.
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 will change it to a few so that this documentation is more scalable in some senseXD
66e2487
to
6886444
Compare
docs/faq.rst
Outdated
- ``concurrency``: The Airflow scheduler will run no more than ``$concurrency`` task instances for your DAG at any given time. Concurrency is defined in your Airflow DAG. If you do not set the concurrency on your DAG, the scheduler will use the default value from the ``dag_concurrency`` entry in your ``airflow.cfg``. | ||
- ``parallelism``: This variable controls the number of task instances that runs simultaneously across the whole Airflow cluster. User could increase the parallelism variable in the ``airflow.cfg``. | ||
- ``concurrency``: The Airflow scheduler will run no more than ``concurrency`` task instances for your DAG at any given time. Concurrency is defined in your Airflow DAG. If you do not set the concurrency on your DAG, the scheduler will use the default value from the ``dag_concurrency`` entry in your ``airflow.cfg``. | ||
- ``task_concurrency``: This variable controls the number of concurrent running task instances across ``execution_dates`` per task. |
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.
across all the dag runs or across execution dates?
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.
dag_runs
may be more accurate
6886444
to
d72b210
Compare
(cherry picked from commit d04d7bc)
(cherry picked from commit d04d7bc)
Make sure you have checked all steps below.
Jira
Description
Tests
Commits
Documentation
Code Quality
flake8