Distributed Cache Service for Redis

Distributed Cache Service (DCS) for Redis is an in-memory database service. Based on an HA architecture, DCS for Redis supports three instance types: single-node, master/standby, and cluster. It ensures high read/write performance and fast data access.

Product Advantages
  • Redis

    DCS for Redis is a standard, persistent in-memory database service. Based on an HA cluster architecture, it ensures high read/write performance.

  • Usable Off the Shelf

    You can configure and launch cache servers within minutes with just a few clicks, buy on-demand resources, and migrate services to the cloud without any modifications.

  • Easy to Use

    DCS for Redis supports service migration without any modifications and monitors over 30 metrics for your services based on custom alarm thresholds and policies.

  • Secure and Reliable

    Username/Password-specific access and audit logs keep your data secure and traceable. The HA architecture provides data persistence and backup mechanisms.

Application Scenarios
  • Gaming

  • e-Commerce

  • Internet

  • Finance

  • Enterprise

Gaming

Gaming

The Redis SortedSet data structure of DCS simplifies leaderboard creation and enables fast access to leaderboards.

Advantages

Fast Data Access

Retrieve frequently accessed data (such as leaderboards) from an in-memory data cache instead of relying entirely on slower disk-based databases.

Scalability

With just a few clicks, resize your DCS instances online to accommodate application load spikes.

Backup and Restoration

Back up data to OBS and restore it with just a few clicks.

Related Services

ecs

elb

obs

e-Commerce

E-Commerce

DCS for Redis provides fast concurrent access to frequently requested data, such as best sellers and daily deals, and is scaled easily as loads increase.

Advantages

High Concurrency

DCS for Redis supports up to 100,000 queries per second.

Easy Scalability

With just a few clicks, your DCS instances can be resized online to accommodate application load spikes.

Data Persistence

Data is automatically transferred to disks, maintaining long-term durability and security.

Related Services

ecs

elb

Internet

Internet

DCS for Redis is ideal for social networking and web apps. The Redis Set data structure can maintain friend connection data, while the Redis String data structure can maintain static cache files.

Advantages

High Concurrency

DCS for Redis supports up to 100,000 queries per second.

Pay-per-Use

Get the DCS instances you need and only pay for what you actually use.

Easy Scalability

With just a few clicks, resize your DCS instances online to accommodate application load spikes.

Related Services

ecs

elb

Finance

Finance

DCS for Redis delivers high concurrency, security, and data reliability for financial apps.

Advantages

High Availability

HA architecture ensures that faults in a single cache node do not affect services.

Security

Security measures include requiring credentials (username and password) and providing audit logs.

Backup and Restoration

Data can be backed up to OBS and restored with just a few clicks.

Related Services

ecs

elb

obs

Enterprise

Enterprise

Traditional enterprise apps require a large amount of code with complex data processing logic. Existing relational databases are slow, requiring local optimization to accelerate response.

Advantages

SQL Statements

Supports standard SQL statements such as DML and DDL.

ACID Transactions

Supports concurrent success/failure, simplifying the processing logic at the application layer.

JCache API

Supports integration with external databases.

Related Services

obs

Functions

  • Multiple Cache Engines

    Choose between Redis and IMDG to suit the needs of your applications.

  • High Availability

    If a master cache node becomes faulty, the standby cache node will take over traffic within seconds.

Multiple Cache Engines

  • Redis

    Redis is an in-memory data structure store. There are three types of DCS Redis instances: single-node, master/standby, and cluster.

  • IMDG

    IMDG is an in-memory data structure. It improves data access by using the memory computing capabilities of each node after clustering.

High Availability

  • Failover

    DCS clients will not perceive any failover because the instance IP address exposure remains unchanged.

  • Redundancy

    Redundancy is provided using master and standby instances. For cluster DCS instances, each shard is held on both master and standby nodes.


  • Flexible Specs

    Choose from single-node, master/standby, and cluster instances from 2 GB to 1024 GB.

  • Scalability

    DCS instances scale without hits, as loads increase.

Flexible Specs

  • Single-Node DCS Instances

    Each DCS instance runs on only one cache node and provides 2 GB to 64 GB in storage capacity. This type of DCS instance is recommended when only caching is needed.

  • Cluster DCS Instances

    Each DCS instance provides 64 GB to 1024 GB in storage capacity, and runs in cluster mode. This type of DCS instance is recommended when high scalability and concurrency are needed.

  • Master/Standby DCS Instances

    Each DCS instance provides 2 GB to 64 GB in storage capacity and runs on two cache nodes—one master and one standby. This type of DCS instance is recommended when high availability is needed.

Scalability

  • Online Scaling

    With just a few clicks on the DCS for Redis console, scale your instances to the needed capacity with no service downtime (cluster or master/standby instances), or with minimal interruption at the minute range (single-node instances).

  • Data Reliability

    DCS for Redis supports data persistence, backup, and restoration.

  • Security

    Security measures include user identity authentication, VPCs, subnets, security groups, and audit logs.

Data Reliability

  • Data Persistence

    By default, data persistence is enabled for both master/standby and cluster DCS instances. Data is flushed to disks with second-level latency.

  • Data Backup

    You can initiate a manual backup at any time, or create policies to automatically back up data daily during off-peak hours. Each piece of data has three replicas. If an error occurs, or data becomes corrupted, you can restore your data from a backup with just a few clicks.


Security

  • Network Isolation

    Tenants in different VPCs or security groups cannot connect with each other or access each other's resources, keeping assets separated and compartmentalized if necessary.

  • Traceability

    DCS for Redis works with Cloud Trace Service to record and audit tenant management operations.

  • User Authorization

    DCS for Redis checks password complexity and protects against password cracking. Users must change or reset DCS instance passwords periodically.


  • Metric Monitoring

    You can view more than 30 metrics and customize alarm thresholds and policies.

Metric Monitoring

  • A Wide Range of Metrics

    External Redis metrics include the number of commands, concurrent operations, connections, clients, and denied connections.

    Resource usage metrics include CPU usage, physical memory usage, network input/output throughput.

    Internal Redis metrics include instance capacity usage, as well as the number of keys, expired keys, PubSub channels, PubSub patterns, keyspace hits, and keyspace misses.

  • Custom Alarm Thresholds and Policies

    Specify your own alarm thresholds and policies based on monitoring metrics to detect service abnormalities in a timely manner.

Recommended Configurations

Entry-level

2 GB, single-node DCS instance

Entry-level

2 GB, single-node DCS instance

Features

  • Up to 10,000 concurrent connections
  • Auto scaling
  • Distinctive security features

Scenarios

  • Micro- and small-sized Internet apps
  • Testing environments of small- and medium-sized enterprises
$18.00 USD/month

Advanced

16 GB, master/standby DCS instance

Advanced

16 GB, master/standby DCS instance

Features

  • HA architecture
  • Data backup and restoration
  • Data persistence

Scenarios

  • Medium-sized Internet apps
  • Production environments of small- and medium-sized enterprises
$205.00 USD/month

Professional

64 GB, master/standby DCS instance

Professional

64 GB, master/standby DCS instance

Features

  • HA architecture with larger capacity
  • Data backup and restoration
  • Data persistence

Scenarios

  • Medium- and large-sized application systems
$840.00 USD/month
Quick Configuration

Buying an Instance

Procedure

1. Log in to the DCS console. 2. Click Buy DCS Instance, and configure the specifications. After you make the payment, the instance is created.

Note

DCS instances must run in VPCs.

Accessing an Instance

Procedure

1. On the DCS console, view the instance connection address and port number. 2. Log in to the ECS console and buy an ECS. Install Redis on the purchased ECS. 3. Use Redis CLI to connect to the instance. Read and write data from and to the instance.

Note

1. The chosen ECS and the DCS instance must belong to the same VPC. 2. In addition to Redis CLI, you can also use other clients such as Jedis and Credis to access DCS instances.

Migrating Data

Procedure

1. Install the data migration tool on the chosen ECS. 2. Export your data files and upload them to the ECS. 3. Import your data files to DCS.

Note

1. The chosen ECS and the DCS instance must belong to the same VPC. 2. If the source Redis client is not on HUAWEI CLOUD, export your data files to a local PC and upload the files to an ECS before importing them to DCS. 3. If the source Redis is on HUAWEI CLOUD, your data files can be directly exported to ECS and then to the DCS instance. 4. If the source Redis client is on HUAWEI CLOUD but is not in the same VPC as the DCS instance, export your data files to a local PC and upload the files to an ECS before importing them to DCS.

Routine Maintenance

Procedure

1. Log in to the DCS console. 2. Select a DCS instance that needs routine maintenance.

Note

1. Exercise caution when restarting a DCS instance, deleting a DCS instance, and changing a password. 2. To verify that modifications to configuration parameters have taken effect, observe instance performance for a reasonable period of time.

Coupon Packages of $1600 USD for New Customers

Register Now