Trino Gateway documentation
Trino Gateway is composed of the following main components:
- BaseApp provides boilerplate code to add/remove pluggable components
with config and metrics registration module. Located in the
io.trino.gateway.baseapp
package of thegateway-ha
module.
- ProxyServer is a library built on top of jetty proxy which provides a
proxy server with a pluggable proxy-handler. Located in the
io.trino.gateway.proxyserver
package of thegateway-ha
module.
- Trino Gateway acts as container for proxy-server and plugs in
ProxyHandlers to provide proxy, routing and load balancing functionalities. It
also exposes few end points and UI to activate, deactivate backends and view
query history for recently submitted queries. Located in the
io.trino.gateway
package of thegateway-ha
module.