Skip to content

Commit

Permalink
docs: Fix GitHub admonition
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Jan 16, 2024
1 parent 546d813 commit 6dda418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/routing/ExplainCostsRouter.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is a very simplistic model and will likely be improved in the future - we a
After trino-lb got the query estimation, it walks a list of resource buckets you can specify top to bottom and picks the first one that fulfills all resource requirements (CPU, memory, Network traffic etc.).
If no bucket matches the router will not a make a decision and let the routers further down the chain decide.

> [!WARN]
> [!WARNING]
> Please keep in mind that trino-lb will determine the target cluster group for every incoming query instantly (otherwise it does not know if it should queued or hand over the query).
> In case a Trino client submits many queries at once this will result in the same number of `explain` queries on the Trino used for the query estimations.
> There is [a issue to address this](https://github.com/stackabletech/trino-lb/issues/10), however until this is resolved it is recommended to have the `ExplainCostsRouter` near the end of the chain and try to classify the queries with a different router.
Expand Down

0 comments on commit 6dda418

Please sign in to comment.