检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Example 3: Deleting DCS Redis Instances in Batches Scenario This section describes how to delete DCS Redis instances in batches by calling APIs. For details about how to call APIs, see Calling APIs. Involved APIs Call APIs to perform the following steps required to delete DCS Redis
Implementing Automatic DCS Redis Expansion During Peak Hours Scenarios and Pain Points Redis is used as cache at ultra-low latency in strong real-time scenarios such as e-commerce, gaming, and social networking. The memory usage and network throughput of a DCS instance surge during
Test Data of Master/Standby DCS Redis 3.0 Instances Test Environment Redis instance specifications Redis 3.0 | 8 GB | master/standby Redis 3.0 | 32 GB | master/standby ECS flavors General computing-enhanced | c6.xlarge.2 | 4 vCPUs | 8 GB Test Command redis-benchmark -h {IP} -p {Port
Test Data of Redis Cluster DCS Redis 4.0 or 5.0 Instances Test Environment Redis instance specifications Redis 4.0 or 5.0 | 32 GB | Redis Cluster ECS flavors General computing-enhanced | c6.xlarge.2 | 4 vCPUs | 8 GB Test tool Three ECSs are used for concurrent tests. The test tool
Test Data of Proxy Cluster DCS Redis 4.0 or 5.0 Instances Test Environment Redis instance specifications Redis 4.0 or 5.0 | 64 GB | 8 shards | Proxy Cluster ECS flavors General computing-enhanced | c6.xlarge.2 | 4 vCPUs | 8 GB Test tool Three ECSs are used for concurrent tests. The
Public Access to a DCS Redis 3.0 Instance (Discontinued) Enabling Public Access of a DCS Redis 3.0 Instance Connecting to Redis 3.0 over a Public Network on redis-cli Parent topic: Accessing a DCS Redis Instance
Test Data of Master/Standby DCS Redis 6.0 Instances DCS Redis 6.0 basic edition instances support SSL. This section covers the performance tested with and without SSL enabled. Test Environment Redis instance specifications Redis 6.0 | Basic edition | 8 GB | Master/Standby Redis 6.0
Why Is CPU Usage of a DCS Redis Instance 100%? Symptom The CPU usage of a Redis instance increases dramatically within a short period of time. If the CPU usage is too high, connections may time out, and master/standby switchover may be triggered. Possible Causes The service QPS is
Can I Change the VPC and Subnet for a DCS Redis Instance? No. Once an instance is created, its VPC and subnet cannot be changed. To use a different set of VPC and subnet, create another instance with a desired set of VPC and subnet and then migrate data as required. For details about
Do DCS Redis Instances Limit the Size of a Key or Value? The maximum allowed size of a key is 512 MB. To reduce memory usage and facilitate key query, ensure that each key does not exceed 1 KB. The maximum allowed size of a string is 512 MB. The maximum allowed size of a Set, List
How Can I Secure My DCS Redis Instances? Redis is one of the most powerful and widely used open-source cache technologies. However, the open-source Redis does not have robust security features of its own. It is vulnerable to malicious Internet attacks, possibly causing data breaches
Can I Modify the Connection Addresses for Accessing a DCS Instance? After a DCS instance is created, its IP address and domain name for intra-VPC access cannot be modified. If public access has been enabled for the instance, the elastic IP address (EIP) bound to the instance can be
Why Do I Fail to Modify the Specifications for a DCS Instance? Check whether other tasks are running. Specifications of a DCS instance cannot be modified if another task of the instance is still running. For example, you cannot delete or scale up an instance while it is being restarted
Why Do I Fail to Create a DCS Redis Instance? The subnet does not have sufficient IP addresses. Analysis: Each node in a DCS instance must be assigned an IP address. Therefore, a single-node instance requires one IP address, a master/standby instance requires two IP addresses, and
Can I Dump DCS Memcached Instance Data for Analysis? No. Parent topic: Memcached Usage
Can I Modify Configuration Parameters of DCS Memcached Instances? Parameter configuration is allowed only when DCS instances are in the Running state. For details, see Modifying Configuration Parameters. Parent topic: Memcached Usage
Can I Customize or Change the Port for Accessing a DCS Instance? You cannot customize or change the port for accessing a DCS Redis 3.0, 6.0 enterprise, or Memcached instance. You can customize and change the port for accessing a DCS Redis 4.0, 5.0, 6.0, or 7.0 basic instance. Redis
How Do I View the Version of a DCS Redis Instance? Connect to the instance and run the INFO command. Figure 1 Querying instance information Parent topic: Instance Types/Versions
How Do I Export DCS Redis Instance Data? Instance data of DCS instances other than single-node ones can be exported on the console: Go to the Cache Manager page on the DCS console. Click the name of the desired instance. The instance details page is displayed. Choose Backups & Restorations
Does DCS for Redis Support Read/Write Splitting? The following table describes DCS's support for read/write splitting. Instance Type Read/Write Splitting Read/write splitting Supported. NOTE: To implement read/write splitting without client configurations, use read/write splitting