Skip to content

Commit 78d6d6a

Browse files
authored
Update scaling documentation (#7177)
* Update scaling documentation * RM unvated changes
1 parent fae4d00 commit 78d6d6a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/operator-guides/scaling-airbyte.md

+9
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ To be safe, make sure the Kubernetes cluster can schedule up to `2 x <number-of-
5151

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

54+
### Temporal DB
55+
56+
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
57+
that temporal creates multiple pools and the number specified in the `SQL_MAX_IDLE_CONNS` environment variable of the `docker.compose.yaml` file
58+
might end up allowing 4-5 times more connexions than expected.
59+
60+
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`
61+
is capped by `SQL_MAX_CONNS`.
62+
5463
## Feedback
5564

5665
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.

0 commit comments

Comments
 (0)