Cloud Database Redis (ApsaraDB for Redis) is a persistent in-memory database service that is compatible with the Open source Redis protocol standard. It is based on a highly reliable dual-system hot backup architecture and a seamless scalable cluster architecture, meeting service requirements for high read/write performance scenarios and flexible capacity allocation.

Redis version of cloud database support String (String), linked List (List), Set (Set), ordered Set (SortedSet), Hash table (Hash) and other data types, and Transactions (Transactions), message subscription and publishing (Pub/Sub) and other advanced functions.

Redis version of cloud database

Redis version of the cloud database using tutorial

(The Redis version of the cloud database is a persistent in-memory database service compatible with the Redis protocol standard. It is based on the highly reliable dual-system hot backup architecture and the seamless scalable cluster architecture, and meets the service requirements of high read/write performance scenarios and flexible capacity allocation.)

Through the storage mode of “memory + hard disk”, the Redis version of cloud database can meet the requirements of data persistence while providing high-speed data read and write capabilities.

Cloud database Redis supports flexible deployment architectures, including single copy, double copy, and cluster versions, which can meet different service scenarios.

  • Single-node architecture: Applicable to pure cache scenarios, supports flexible single-node cluster configuration, meets high QPS scenarios, and provides high cost performance ratio.
  • Dual-system hot backup architecture: Data on the Master and Slave nodes is synchronized in real time when the system works. When the Master node fails, the system automatically switches services on a second level. The Slave node takes over services automatically and has no impact on services.
  • Cluster architecture: Cluster instances adopt a distributed architecture, each node adopts a master and slave high availability architecture, automatic disaster recovery switchover, fault migration, a variety of cluster specifications can adapt to different business pressures, wireless expansion of database performance.

Cloud database Redis version as a cloud computing service, its hardware and data deployed in the cloud, with perfect infrastructure planning, network security, system maintenance services, to ensure that users are committed to business innovation.

Product advantage

Excellent performance The cluster function supports ultra-large capacity and ultra-high performance. Supports the cluster function and provides 128 GB or higher cluster instance specifications to meet the requirements of large capacity and high performance. The system provides active – slave dual-node instances with 64 GB or less to meet the capacity and performance requirements of common users. The elastic expansion

  • One-click capacity expansion: Users can use the console to adjust the instance storage capacity based on service requirements.
  • Online capacity expansion without interrupting services: The instance storage capacity can be adjusted online without interrupting services, and users’ services are not affected.
Data security
  • Persistent data storage: Memory and hard disks are used to provide high-speed data reads and writes while meeting data persistence requirements.
  • Primary/secondary data backup: All data is backed up on the primary and secondary nodes.
  • Password authentication is supported to ensure secure access.
High availability
  • Both the two-copy and clustered edition instances have primary and secondary nodes to avoid service interruption caused by a single point of failure.
  • Automatic detection and recovery of hardware faults: automatically detects hardware faults and switches within seconds to restore services.
  • Instance-level resource isolation can better ensure the stability of individual user services.

Second level monitoring

  • Provides real-time monitoring at the second level and historical monitoring at the minute level.
  • The monitoring information of each data structure and interface is provided, and the access situation is clear at a glance, so that users can have a full understanding of the use of Redis version of the cloud database.
Simple and easy to use
  • Out-of-the-box: Supports out-of-the-box services that can be used after purchase, facilitating rapid service deployment.
  • Compatible with open source Redis: Compatible with Redis command, any Redis client can easily establish a connection with cloud database Redis version for data operation.
  • Visual management monitoring panel: The console provides monitoring statistics to facilitate the management of Redis instances.

Application scenarios

Game Industry Applications

The gaming industry can choose cloud database Redis edition as an important deployment architecture component.

Scenario 1: Redis is used as a storage database

The game deployment architecture is relatively simple. The main program is deployed on ECS, and all business data is stored in Redis as a persistent database. Redis version of the cloud database supports persistence and redundant data storage in active/standby mode.

Scenario 2: Redis acts as a cache to accelerate application access

Redis acts as a caching layer to speed up application access. Data is stored in a back-end database (RDS).

The service reliability of Redis is very important. Once the Redis service is unavailable, the back-end database cannot bear the service access pressure. Cloud database Redis provides a high availability architecture of dual-system hot backup to ensure high service reliability. The active node provides external services. When the active node fails, the system automatically switches over to the standby node to take over services. The entire switchover process is transparent to users.

Application in e-commerce industry

Redis is widely used in e-commerce industry, mostly in commodity display, shopping recommendation and other modules.

Scenario 1: Seckilling shopping system

Large promotion of the second kill system, the overall system access pressure is very large, the general database simply cannot bear such reading pressure. Redis version of cloud database supports persistence function, you can directly choose Redis as a database system.

Scenario 2: Inventory system with counting system

RDS is used to store specific data information in the bottom layer, and specific count information is stored in database fields. Redis version of the cloud database to read the count, RDS store the count information. The Redis version of the cloud database is deployed on physical machines, and the underlying layer is based on SSD high-performance storage, providing extremely high data reading capability.

Live video applications

Livestreaming services tend to rely heavily on Redis services to store user data and friends’ interaction.

Dual-system hot backup ensures high availability

The Redis version of the cloud database provides dual-system hot backup to greatly improve service availability.

Cluster edition solves performance bottlenecks

Cloud database Redis version provides cluster version instance, breaks the performance bottleneck of Redis single thread mechanism, can effectively cope with the sudden flow of live video, and effectively support the demand of high performance.

Easy capacity expansion for peak service

The Redis version of the cloud database supports one-click capacity expansion. The entire upgrade process is transparent to users, allowing users to cope with the impact of sudden traffic on services.


More excellent courses:

7 days to play cloud server

Redis version of the cloud database using tutorial

Play cloud storage object storage OSS introduction

Ali Cloud CDN use tutorial

Load Balancing Introduction and Product Usage Guide

Official website of Ali Yun University (Official website of Ali Yun University, Innovative Talent Workshop under cloud Ecology)