Sign InTry Free

TiProxy Deployment Topology

This document describes the deployment topology of TiProxy based on the minimal TiDB topology.

TiProxy is a L7 proxy server for TiDB, which can balance connections and migrate sessions when possible.

Topology information

InstanceCountPhysical machine configurationIPConfiguration
TiDB316 VCore 32GB * 310.0.1.4
Default port
Global directory configuration
PD34 VCore 8GB * 310.0.1.1
Default port
Global directory configuration
TiKV316 VCore 32GB 2TB (nvme ssd) * 310.0.1.7
Default port
Global directory configuration
TiProxy14 VCore 8 GB * port
Global directory configuration
Monitoring & Grafana14 VCore 8GB * 1 500GB (ssd) port
Global directory configuration

Topology templates

For more information about the template for TiProxy, see The simple template for the TiProxy topology.

For detailed descriptions of the configuration items in the preceding TiDB cluster topology file, see Topology Configuration File for Deploying TiDB Using TiUP.

Key parameters

  • The instance level "-host" configuration in tiproxy_servers only supports IP, not domain name.
  • For detailed TiProxy parameter description, see TiProxy Configuration.

Was this page helpful?

Download PDFRequest docs changesAsk questions on Discord
One-stop & interactive experience of TiDB's capabilities WITHOUT registration.
TiDB Dedicated
TiDB Serverless
Get Demo
Get Started
© 2024 PingCAP. All Rights Reserved.
Privacy Policy.