tencent cloud

TDSQL-C for MySQL

Service Agreement
Service Level Agreement
Terms of Service
TDSQL-C 정책
개인 정보 보호 정책
데이터 처리 및 보안 계약
문서TDSQL-C for MySQL

Access Mode

포커스 모드
폰트 크기
마지막 업데이트 시간: 2024-03-25 16:16:49
This document describes the access modes of the TDSQL-C for MySQL database proxy.

Prerequisites

You have enabled database proxy. For details, see Enabling Database Proxy.

Overview

There are two access modes available to manage the connection between the client application and the database: Balanced Distribution and Nearby Access. The following sections detail the rules, advantages, and disadvantages of the two access modes.

Balanced Distribution


Rule: In the Balanced Distribution access mode, the client application connects to all available database proxy nodes. If the database proxy nodes are spread across multiple availability zones, application connections to the database are evenly distributed among all availability zone nodes.
Advantage: Traffic is evenly distributed, resolving the issue of excessive load on a single node.
Disadvantage: If there are proxy nodes in different availability zones, high request latency is prone to occur due to extended access paths.

Nearby Access


Rule: In the Nearby Access mode, the application will connect to the proxy node in the same availability zone or the one with the shortest access path. Even if the database proxy nodes are spread across multiple availability zones, the application will still connect the proxy node with the shortest access path.
Advantage: Low access latency and high speed.
Disadvantage: If your client application changes to an availability zone with fewer database proxy nodes than the original zone, it can lead to excessive load on the nodes and performance delays.

Changing Access Mode

The access mode can be changed. For details, see Viewing and Changing the Access Policy.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백