tencent cloud

Tencent Cloud Distributed Cache (Redis OSS-Compatible)

Release Notes and Announcements
Release Notes
Announcements
User Tutorial
Product Introduction
Overview
Product Strengths
Use Cases
Storage Engine
Product Series
Product Versions
Specifications and Performance
Read/Write Separation
Multi-AZ Deployment
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
Pricing Center
Instance Purchasing
Renewal (Yearly/Monthly Subscription)
Refund (Yearly/Monthly Subscription)
Overdue Payments
Switching from Pay-as-You-Go to Yearly/Monthly Subscription
Getting Started
Quickly Creating an Instance
Connecting to Redis Instance
Operation Guide
Operation Overview
Connecting to a Database Instance
Managing Instances
Upgrade Instance
Management Node (Redis/ValKey Edition)
Multi-AZ Deployment Management
Backup and Restoration
Managing Accounts
Parameter Configuration
Slow Query
Access Management
Network and Security
Monitoring and Alarms
Event Management (Redis/ValKey Edition)
Data Migration
Global Replication for Redis Edition
Performance Optimization
Sentinel Mode
Development Guidelines
Naming Rules
Basic Usage Guidelines
Design Principles of Key and Value
Command Usage Guidelines
Design Principles of Client Programs
Connection Pool Configuration
Command Reference
Command Reference Overview
Redis Edition and Valkey Edition Command Compatibility
Version Command Usage Differences
Differences Between the Proxy Architecture and Direct Connection Mode
More Command Operations (Redis/Valkey Edition)
Memcached Edition Command Compatibility
Practical Tutorial
Building TencentDB for Redis® Client Monitoring Based on Spring Boot
Redis Client Connection Configuration Policy and Practice
Global SCAN Guide for Cluster Architecture
Eliminating Instances Securely
Hot Key and Big Key
AZ Migration Scheme
Troubleshooting
Connection Exception
Exception Analysis and Solution of Redisson Client Timeout Reconnection
Performance Troubleshooting and Fine-Tuning
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Parameter Management APIs
Other APIs
Backup and Restoration APIs
Region APIs
Monitoring and Management APIs
Log APIs
Data Types
Error Codes
FAQs
General
Connection and Login
Purchase
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Naming Rules

PDF
Focus Mode
Font Size
Last updated: 2024-11-05 10:22:22

Instance Naming Rules

Name Redis instance in accordance with the following rules: {Environment}-{Branch}-{Project number}-{Business name}-{Region}-{Zone}-{Number}.
Environment: prd or dev.
Branch: Name of the branch, such as cx.
Project number: Assign a number to each project group, such as p001.
Business name: Redis business name, such as abc.
Region: Abbreviation for the region of an instance, such as gz (Guangzhou).
Zone: Abbreviation for the zone of an instance, such as gzcx01.
Number: The number of the first Redis instance, which starts from 1.
So the instance name is prd-cx-p001-abc-gz-gzcx01-1.

Key Naming Rules

Key name must be prefixed with a business or a database name separated by colons to avoid key conflict. The recommended naming rule is: business name:database name:table name: data ID.
Business name: Abbreviation of the business system, such as cx.
Database name: Name of the database, such as cxdb.
Table name: Name of the database table, such as user.
Data ID: ID or the primary key field in the data table, such as "uid"in database table.
So the key name is cx:cxdb:user:000110011.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback