Comments (2)
simplifies the extension of the routing function, facilitates testing and verification
This is needed, thank you!
The overall philosophy looks good to me. I like that the current architecture is a specialization of the more general architecture here, so that we can provide built in plugins to current users and avoid breaking changes.
The label concept is appealing, and should allow more sophisticated routing decisions. Have you considered taking a bit more inspiration from kubernetes and using taints? For example you could taint a cluster like taints: ['oneMinuteMaxExecution']
, and a routing plugin could either decide that that select 1
can tolerate this, or the client could add a header like X-Trino-Gateway-Toleration: oneMinuteMaxExecution
. Otoh, maybe labels are sufficiently powerful.
from trino-gateway.
How about a feature/requirement section that includes the following info.
Features
- Block routing to backend on failure expected queries.
- e.g) A repetition of failing query due to syntax/authorization error could be blocked in order to prevent unncessary connections from trino server to hive metastore/HDFS ranger in our case.
- I know trino relies on connector's authentication, but we noticed that IDE or superset etc. executes lots of queries at once and creates lots of connections, which is not welcome to our hive metastore.
- Also, we are planning to run explain and get statistics, and if query fails due to syntax error, there is no need to pass failure expected query onto backend.
from trino-gateway.
Related Issues (20)
- Open API spec for Gateway APIs HOT 4
- Unable to configure OAuth on Trino gateway HOT 6
- Move gateway related APIs under a dedicated path HOT 3
- Helm chart not available on any chart repository HOT 4
- Query History incorrectly treats source as a required field HOT 1
- Support declarative configuration for Trino backends
- Pass object instead of multiple strings to routingManager? HOT 5
- Test failed `Server configuration does not allow processing of the X-Forwarded-Proto header`
- Helm chart incompatible with Airlift config HOT 2
- The contents in `gateway-ha/src/main/resources/static` don't get updated during the build process.
- Remove usage of "backend" term
- Release version 10 HOT 2
- Fix Indentation for Pod Annotations in deployment.yaml HOT 1
- Same DNS name for multiple clusters
- Docker compose warning HOT 2
- Quickstart docker trino images lacks process-forward conf HOT 1
- `system.runtime.kill_query` queries not routed to correct cluster
- `requestAnalyzer` is non functional
- trino-gateway how to skip backend tls with invalidate certificates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trino-gateway.