检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
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)
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 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)
Restoring DCS Instances This section describes how to restore instances on the DCS console. This function helps restore instances deleted by mistake. To migrate backup data to other DCS instances, see Backup Import Between DCS Redis Instances. Notes and Constraints You can enable
Restarting a DCS Instance To recover an instance in cases such as high memory fragmentation ratio or fault occurrence, try restarting the instance on the DCS console. DCS instances can be restarted in batches. Notes and Constraints The DCS instances must be in the Running or Faulty
Process of Using DCS How to Manage DCS Instances You can access Distributed Cache Service (DCS) from the web-based management console or by using RESTful application programming interfaces (APIs) through HTTPS requests. Using the console You can sign up and log in to the console,
Viewing DCS Metrics The Cloud Eye service monitors the running performance your DCS instances. Procedure Log in to the DCS console. Click in the upper left corner of the console and select the region where your instance is located. In the navigation pane, choose Cache Manager. Click
Deleting a DCS Instance On the DCS console, you can delete one or multiple DCS instances at a time. You can also delete all instance creation tasks that have failed to run. Notes and Constraints The DCS instances exist, and must be in the Running, Faulty, or Stopped state. Deleting
Common DCS Metrics This section describes common Redis metrics. Table 1 Common metrics Metric Description CPU Usage This metric indicates the maximum value in each measurement period (minute-level: every minute; second-level: every 5 seconds). For a single-node or master/standby instance
Monitored DCS Events Introduction Event monitoring provides event collection, query, and alarm reporting. These major events or DCS operation events can be collected to Cloud Eye to alarm. Namespace SYS.DCS Monitored events Table 1 DCS events Event Name Event ID Event Severity Description
Batch Deleting DCS Instances Function This API is used to delete multiple DCS instances at a time. Calling Method For details, see Calling APIs. URI DELETE /v2/{project_id}/instances Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Definition: Project
Modifying Details of a DCS Instance Function This API is used to modify the information about a DCS instance, including the instance name, description, port, backup policy, start and end time of the maintenance window, and security group. Calling Method For details, see Calling APIs
Querying Tags of a DCS Instance Function This API is used to query the tags of an instance by its instance ID. Calling Method For details, see Calling APIs. URI GET /v2/{project_id}/instances/{instance_id}/tags Table 1 Path Parameters Parameter Mandatory Type Description project_id
Backing Up a DCS Instance Function This API is used to back up a specific DCS instance. Only master/standby and cluster DCS instances can be backed up and restored, while single-node instances cannot. Calling Method For details, see Calling APIs. URI POST /v2/{project_id}/instances
Querying All DCS Instances Function This API is used to query DCS instances of a tenant, and allows you to specify query criteria. Calling Method For details, see Calling APIs. URI GET /v2/{project_id}/instances Table 1 Path Parameters Parameter Mandatory Type Description project_id
Deleting a Single DCS Instance Function This API is used to delete a specified DCS instance to free up all resources occupied by the DCS instance. To delete pay-per-use resources, perform operations in this section. To unsubscribe from resources billed in yearly/monthly mode, see
Batch Deleting DCS Instances Function This API is used to delete multiple DCS instances at a time. URI DELETE /v1.0/{project_id}/instances?allFailure={allFailure} Table 1 describes the parameters. Table 1 Parameter description Parameter Type Mandatory Description project_id String
Scaling Up a DCS Instance Function This API is used to scale up a DCS Redis or Memcached instance in the Running state. URI POST /v1.0/{project_id}/instances/{instance_id}/extend Table 1 describes the parameters. Table 1 Parameter description Parameter Type Mandatory Description project_id