mik-laj commented on a change in pull request #6961: [AIRFLOW-XXX] Add task 
execution process on Celery Execution diagram
URL: https://github.com/apache/airflow/pull/6961#discussion_r361939219
 
 

 ##########
 File path: docs/executor/celery.rst
 ##########
 @@ -143,3 +143,38 @@ The components communicate with each other in many places
 * [9] **Scheduler** --> **DAG files** - Reveal the DAG structure and execute 
the tasks
 * [10] **Scheduler** --> **Celery's result backend** - Gets information about 
the status of completed tasks
 * [11] **Scheduler** --> **Celery's broker** - Put the commands to be executed
+
+Task execution process
+----------------------
+
+.. figure:: ../img/run_task_on_celery_executor.png
+    :scale: 50 %
+
+    Sequence diagram - task execution process
+
+Initially, two processes are running:
+
+- SchedulerProcess - process the tasks and run using CeleryExecutor
+- WorkerProcess - observes the queue waiting for new tasks to appear
+- WorkerChildProcess - waits for new tasks
+
+Two databases are also available:
+
+- QueueBroker
+- ResultBackend
 
 Review comment:
   They are described in the section above.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to