Skip to content

Commit

Permalink
Update scaling documentation (#7177)
Browse files Browse the repository at this point in the history
* Update scaling documentation

* RM unvated changes
  • Loading branch information
benmoriceau authored Oct 20, 2021
1 parent fae4d00 commit 78d6d6a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/operator-guides/scaling-airbyte.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ To be safe, make sure the Kubernetes cluster can schedule up to `2 x <number-of-

This is a **non-issue** for users running Airbyte Docker.

### Temporal DB

Temporal maintains multiple idle connexions. By the default value is `20` and you may want to lower or increase this number. One issue we noticed is
that temporal creates multiple pools and the number specified in the `SQL_MAX_IDLE_CONNS` environment variable of the `docker.compose.yaml` file
might end up allowing 4-5 times more connexions than expected.

If you want tho increase the amount of allowed idle connexion, you will also need to increase `SQL_MAX_CONNS` as well because `SQL_MAX_IDLE_CONNS`
is capped by `SQL_MAX_CONNS`.

## Feedback

The advice here is best-effort and by no means comprehensive. Please reach out on Slack if anything doesn't make sense or if something can be improved.
Expand Down

0 comments on commit 78d6d6a

Please sign in to comment.