Skip to content

Commit

Permalink
Doc: new Worker parallelization section in jobs.md (#9191)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed Jan 3, 2022
1 parent 06fc680 commit 7300240
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/understanding-airbyte/jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ Note: When a source has passed all of its messages, the docker process should au

See the [architecture overview](high-level-view.md) for more information about workers.

## Worker parallelization
Airbyte exposes the following environment variable to change the maximum number of each type of worker allowed to run in parallel.
Tweaking these values might help you run more jobs in parallel and increase the workload of your Airbyte instance:
* `MAX_SPEC_WORKERS`: Maximum number of *Spec* workers allowed to run in parallel.
* `MAX_CHECK_WORKERS`: Maximum number of *Check connection* workers allowed to run in parallel.
* `MAX_DISCOVERY_WORKERS`: Maximum number of *Discovery* workers allowed to run in parallel.
* `MAX_SYNC_WORKERS`: Maximum number of *Sync* workers allowed to run in parallel.

The current default value for these environment variables is currently set to **5**.

## Job State Machine

Jobs in the worker follow the following state machine.
Expand Down

0 comments on commit 7300240

Please sign in to comment.