检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Querying a DCS instance Function This API is used to query the details about a specified DCS instance. Calling Method For details, see Calling APIs. URI GET /v2/{project_id}/instances/{instance_id} Table 1 Path Parameters Parameter Mandatory Type Description instance_id Yes String
What Is DCS? Huawei Cloud Distributed Cache Service (DCS) is an online, distributed, fast in-memory cache service compatible with Redis. It is reliable, scalable, usable out of the box, and easy to manage, meeting your requirements for high read/write performance and fast data access
DCS Best Practices This section summarizes best practices of Distributed Cache Service (DCS) in common scenarios. Each practice is given a description and procedure. Table 1 DCS best practices Best Practice Description Serializing Access to Frequently Accessed Resources Describes
Suggestions on Using DCS Service Usage Principle Description Remarks Deploy services nearby to reduce latency. If your service and DCS instance are deployed far from each other (not in the same region) or with a high latency (connected through public networks), the read/write performance
DCS Data Security Security is a shared responsibility between Huawei Cloud and you. Huawei Cloud is responsible for the security of cloud services to provide a secure cloud. As a tenant, you should properly use the security capabilities provided by cloud services to protect data,
Auto-renewing a DCS Instance Auto-renewal is easier and prevents DCS instances from being automatically deleted if you forget to manually renew them. The auto-renewal rules are as follows: The first auto-renewal date and billing period are calculated based on the expiration date of
DCS Instance Types Single-Node Redis Master/Standby Redis Proxy Cluster Redis Redis Cluster Read/Write Splitting Redis Comparing DCS Redis Instance Types Single-Node Memcached (Discontinued) Master/Standby Memcached (Discontinued)
DCS Instance Specifications Redis 4.0/5.0/6.0/7.0 Redis 6.0 Enterprise Edition Redis 3.0 Instance Specifications (Discontinued) Memcached Instance Specifications (Discontinued)
Configuring DCS Instance Tags Tags facilitate DCS instance identification and management. Tags can be added in instance creation, or on the instance details page. A maximum of 20 tags are allowed for a DCS instance. If your organization has configured tag policies for DCS, add tags
Diagnosing a DCS Redis Instance If a fault or performance issue occurs, you can ask DCS to diagnose your instance to learn about the cause and impact of the issue and how to handle it. Notes and Constraints DCS Redis 3.0 and Memcached instances do not support diagnosis. New instances
Accessing a DCS Redis Instance Configuring Redis Network Connections Controlling DCS Redis Access Connecting to Redis on a Client Connecting to Redis on the Console Public Access to a DCS Redis 3.0 Instance (Discontinued)
Clearing DCS Instance Data To clear instance data, use the FLUSHDB or FLUSHALL commands on accessed instances, or the data clearance function on the DCS console. This section describes how to use the function to clear instance data with one click. Clearing instance data may cause
Exporting a DCS Instance List A list of instance information can be exported and downloaded in Excel on the DCS console. You can view or compare DCS instance information. Procedure Log in to the DCS console. Click in the upper left corner of the console and select the region where
Viewing DCS Background Tasks After you initiate certain instance operations such as scaling up the instance and changing or resetting a password, a background task will start for each operation. On the DCS console, you can view the background task status and clear task information
Applying for More DCS Quotas What Is Quota? A quota is a limit on the quantity or capacity of a certain type of service resources that you can use, for example, the maximum number of DCS instances that you can create and the maximum amount of memory that you can use. If a quota cannot
Modifying DCS Instance Specifications On the DCS console, you can change DCS Redis or Memcached instance specifications including the instance type, memory, and replica quantity. Modifying instance specifications does not affect the connection address, password, security group, and
DCS Backup and Restoration Overview On the DCS console, you can back up and restore DCS instances. Importance of DCS Instance Backup There is a small chance that dirty data could exist in a DCS instance owing to service system exceptions or problems in loading data from persistence
Viewing DCS Audit Logs With CTS, you can query, audit, and review operations performed on cloud resources. Traces include the operation requests sent using the management console or open APIs as well as the results of these requests. DCS Operations Supported by CTS Table 1 DCS operations
Configuring DCS Monitoring and Alarms This section describes the alarm rules of some metrics and how to configure the rules. In actual scenarios, configure alarm rules for metrics by referring to the following alarm policies. Alarm Policies for DCS Redis Instances Table 1 DCS Redis
Adjusting DCS Instance Bandwidth Generally, Redis instances save and obtain data in the data layer closer to application services, which consumes the network bandwidth. Rate limits may occur when the instance bandwidth is insufficient, causing increased service latency or client connection