Skip to content

Commit

Permalink
Update execution.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 authored Mar 18, 2022
1 parent 718cf05 commit cf7d1aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/execution.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Oftentimes we want our tasks to run in parallel or even on different machines fo
!!! note "Running flows in parallel requires no configuration"
Note that task runners only manage _task runs_ within a single flow run - the ability to run multiple flow runs in parallel is default behavior in Prefect.

Every time you call a task function, it is submitted to the flow's task runner for execution. By default, Prefect uses a [`SequentialTaskRunner`][prefect.task_runners.SequentialTaskRunner] that blocks and runs tasks in sequence as they are called. For many situations, this is perfectly acceptable.
Every time you call a task function, it is submitted to the flow's task runner for execution. By default, Prefect uses a [`ConcurrentTaskRunner`][prefect.task_runners.ConcurrentTaskRunner], which will run your tasks concurrently.

If, however, we want our tasks to run in parallel (or asynchronously) then we need to consider alternative approaches.
If, however, we want our tasks to run in parallel (or sequentially) then we need to consider alternative approaches.

## Parallel Execution

Expand Down

0 comments on commit cf7d1aa

Please sign in to comment.