GaruGaru / trino-loadbalancer

trino loadbalancer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trino Loadbalancer

Docker Tests Go Report Card Coverage Status

Fast, high available load balancer for trino with smart routing rules

Configuration

Minimal configuration

proxy:
  port: 8998

routing:
  rule: round-robin

persistence:
  postgres:
    db: 'postgres'
    host: '127.0.0.1'
    port: 5432
    username: 'postgres'
    password: 'test'
    ssl_mode: 'disable'

discovery:
  providers:
    - provider: static
      enabled: true
      static:
        clusters:
          - name: cluster-0
            enabled: true
            url: http://localhost:8080

session:
  store:
    redis:
      opts:
        prefix: 'trino::'
        max_ttl: 24h

Deploy

Todo

About

trino loadbalancer

License:GNU General Public License v3.0


Languages

Language:Go 91.6%Language:TypeScript 6.1%Language:HTML 1.0%Language:SCSS 0.5%Language:JavaScript 0.5%Language:Dockerfile 0.3%