Product Advantages

Redis

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

IMDG

An IMDG is a SQL-based in-memory data structure. It enables you to process traditional database data in memory without modifying the SQL code of your services.

Ease of use

DCS for Redis supports service migration with little modification and monitors your services based on custom alarm thresholds and policies for over 30 metrics.

Reliability

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. Redis provides fast access to leaderboards.

Advantages

  • Fast Data Access

    Retrieve frequently used 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 in 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 load increases.

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 persisted to disks, maintaining data durability and security.

Related Services

ECS

ELB

RDS

Internet

Internet

DCS for Redis is ideal for social and web apps. The Redis Set data structure can maintain data about relationships between friends and the Redis String data structure can cache static files.

Advantages

  • High Concurrency

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

  • Pay-per-Use

    You can buy DCS instances as needed, and only pay for the instances you actually use.

  • Easy Scalability

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

Related Services

ECS

ELB

RDS

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 security credentials (username and password) and audit logs.

  • Backup and Restoration

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

Related Services

ECS

ELB

RDS

OBS

Enterprise

Enterprise

For traditional enterprise apps, a large amount of code is involved and data processing logic is complicated. Existing relational databases respond slowly, requiring local optimization for speed-up.

Advantages

  • SQL Statements

    Standard SQL statements such as DML and DDL are supported.

  • ACID Transactions

    Concurrent success/failure is supported, simplifying the processing logic at the application layer.

  • JCache API

    Integration with external databases is supported.

Related Services

OBS

VPN

Functions

Multiple Cache Engines

You can choose between two cache engines, Redis and IMDG, depending on your requirements.

  • Redis

    Redis is an in-memory data structure store. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. There are three types of DCS Redis instances: single-node, master/standby, and cluster.

  • IMDG

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

High Availability

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

  • Failover

    DCS clients will not perceive the failover because the instance IP address exposed to them remains unchanged.

  • Redundancy

    For DCS instances of master/standby type, each instance runs on both master and standby nodes. For DCS instances of cluster type, each shard is held on both master and standby cache nodes.

Flexible Specs

You can choose among single-node, master/standby, and cluster instances from 2 GB to 1024 GB.

  • Single-node DCS instances

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

  • Master/standby DCS instances

    Each DCS instance provides storage capacity of 2 GB to 64 GB and runs on two cache nodes, one master and one standby. These DCS instances are recommended when high availability is needed.

  • Cluster DCS instances

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

Scalability

DCS instances can scale online and hitlessly as the instance load increases.

  • Online scaling

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

Data Reliability

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

  • 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. In the event of a misoperation or if data is corrupted, you can restore your data from a backup in just a few clicks.

Security

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

  • Network isolation

    Tenants in different VPCs or security groups cannot access each other or use each other's resources.

  • User authorization

    DCS for Redis checks password complexity and protects against password cracking.
    DCS for Redis requires users to change or reset DCS instance passwords periodically.

  • Traceability

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

Metric Monitoring

You can view over 30 metrics and customize alarm thresholds and policies.

  • 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 throughput, and network 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

    For example, if you suspect a service fault was caused by frequent keyspace misses, then you can set the keyspace miss threshold to 30 and specify the user who will receive an alarm if that threshold is crossed. When the number of keyspace misses reaches 30, the user will receive an alarm.

Recommended Configurations

Entry-level

2 GB, single-node DCS instance

Features
Up to 10,000 concurrent connections
Flexible scaling
Distinctive security features
Scenarios
Micro- and small Internet apps
Testing environments of small and medium enterprises
¥76.80/month
Learn more >

Advanced

16 GB, master/standby DCS instance

Features
HA architecture
Data backup and restoration
Data persistence
Scenarios
Medium Internet apps
Production environments of small and medium enterprises
¥1,102.00/month
Learn more >

Professional

64 GB, master/standby DCS instance

Features
HA architecture with larger capacity
Data backup and restoration
Data persistence
Scenarios
Medium and large application systems
¥4,544.00/month
Learn more >

Quick Configuration

  • Create an Instance

  • Access an Instance

  • Migrate Data

  • Routine Maintenance

Create an Instance

Steps

1. Log in to the DCS console.

2. Click Create Cache Instance. Select instance specifications and configuration.

3. Click OK to create the instance.

Note

DCS instances must run on a Virtual Private Cloud (VPC).

Access an Instance

Steps

1. Using the DCS console, take note of the DCS instance's connection address and the port used.

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 DCS instance. Read and write data from and to the instance.

Notes

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.

Migrate Data

Steps

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.

Notes

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 them to an ECS before importing it to DCS.

3. If the source Redis client 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 them to an ECS before importing it to DCS.

Routine Maintenance

Steps

1. Log in to the DCS console.

2. Select a DCS instance that needs routine maintenance.

Notes

1. Exercise caution when restarting a DCS instance, deleting a DCS instance, and changing a password.

2. To verify whether configuration parameter modifications have gone into effect, observe instance performance for a period of time.

Create an Account and Experience HUAWEI CLOUD for Free

Register Now