We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What's the load balancing scheme used by Trino gateway? And is there a way to change it?
The text was updated successfully, but these errors were encountered:
By default the gateway picks a random cluster within the matched routing group. See https://github.com/trinodb/trino-gateway/blob/main/gateway-ha/src/main/java/io/trino/gateway/ha/handler/QueryIdCachingProxyHandler.java#L249 and https://github.com/trinodb/trino-gateway/blob/main/gateway-ha/src/main/java/io/trino/gateway/ha/router/RoutingManager.java#L91
I don't think this can change. You can play with the routing groups and the explicit header to route the query to certain clusters though.
Sorry, something went wrong.
@vishalya can you potentially take this on to document as part of the update for the linked PR ?
No branches or pull requests
What's the load balancing scheme used by Trino gateway? And is there a way to change it?
The text was updated successfully, but these errors were encountered: