You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/design.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ The trait `trino_lb_persistence::Persistence` (think of an interface) allows for
19
19
20
20
In case you are interested in a implementation for a different persistence please feel free to open an issue or pull request!
21
21
22
+
Read on the [persistence page](./persistence/index.md) for more details.
23
+
22
24
## 1. Cluster groups
23
25
24
26
trino-lb has the concept of so-called "cluster groups" consisting of 1 - n Trino clusters.
@@ -54,6 +56,8 @@ Trino will respond with an resource estimation the query will consume.
54
56
Please note that this functional heavily depends on [Table statistics](https://trino.io/docs/current/optimizer/statistics.html) being present for the access tables to get meaningful estimations.
55
57
4.[ClientTagsRouter](./routing/ClientTagsRouter.md): Route queries based on client tags send in the `X-Trino-Client-Tags` header.
56
58
59
+
Read on the [routing page](./routing/index.md) for more details.
60
+
57
61
## 3. Choosing cluster from cluster group
58
62
59
63
Once the routers have determined which cluster group the query should run a fitting cluster of this group needs to be chosen.
@@ -88,6 +92,8 @@ Currently the following autoscalers are implemented:
88
92
89
93
1.[Stackable](./scaling/stackable.md): Autoscales [Stackable TrinoClusters](https://docs.stackable.tech/home/stable/trino/), which are part of the Stackable Data Platform (SDP)
90
94
95
+
Read on the [scaling page](./scaling/index.md) for more details.
96
+
91
97
## Monitoring
92
98
93
99
trino-lb emits [OpenTelemetry Metrics](https://opentelemetry.io/docs/concepts/signals/metrics/), which (for now) are only exposed as [Prometheus](https://prometheus.io/) metrics on `http://0.0.0.0:9090/metrics`.
Copy file name to clipboardExpand all lines: docs/routing/index.md
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,6 @@
3
3
Routing is implemented in a generic fashion by exposing the trait `trino_lb::routing::RouterImplementationTrait` (think of like an interface).
4
4
Different routing engines can be implemented easily using this trait, please feel free to open an issue or pull request!
5
5
6
-
E.g. a router based on [client tags](https://trino.io/docs/current/develop/client-protocol.html?highlight=client+tag#client-request-headers) would be trivial, but also currently possible via the `PythonScriptRouter`.
0 commit comments