Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 1.88 KB

design.md

File metadata and controls

57 lines (47 loc) · 1.88 KB

Trino Gateway documentation

Design

Trino Gateway is composed of the following main components:

  1. BaseApp provides boilerplate code to add/remove pluggable components with config and metrics registration module. Located in the io.trino.gateway.baseapp package of the gateway-ha module.

BaseApp Class Diagram

  1. 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 the gateway-ha module.

ProxyServer Class Diagram

  1. 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 the gateway-ha module.

TrinoGateway Class Diagram