Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.36 KB

design.md

File metadata and controls

38 lines (28 loc) · 1.36 KB

Trino Gateway documentation

Configuration Design Development Security Operation Gateway API Resource groups API Routing rules References Release notes

Design

Trino Gateway has three main components:

  1. BaseApp - It provides boilerplate code to add/remove pluggable components with config and metrics registration module.

BaseApp Class Diagram

  1. ProxyServer - Its a library built on top of jetty proxy which provides a proxy server with a pluggable proxy-handler.

ProxyServer Class Diagram

  1. Gateway - This component 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.

TrinoGateway Class Diagram