This topic describes how to use ApsaraDB for Redis in different scenarios to meet diverse business demands, especially for high concurrency scenarios.


ApsaraDB for Redis can serve as an important architecture component in the gaming industry.

  • Scenario 1: use ApsaraDB for Redis as a storage service

    Gaming applications can be deployed in a simple architecture, where the main program runs an Elastic Compute Service (ECS) instance, and the business data is stored in ApsaraDB for Redis. ApsaraDB for Redis can be used for persistent storage. It uses a master-replica deployment model to implement redundancy.

  • Scenario 2: use ApsaraDB for Redis as a caching service to accelerate connections to applications

    ApsaraDB for Redis can serve as a caching service to accelerate connections to applications. Data is only stored on backend databases (RDS instances).

The high availability of ApsaraDB for Redis is essential to your business. If your ApsaraDB for Redis service becomes unavailable, the RDS instances may be overwhelmed by the requests sent from your applications. ApsaraDB for Redis adopts the master-replica architecture to ensure high availability. The master is responsible for handling requests. When the master fails, the replica takes control of the workloads. The failover is completely transparent to users.


ApsaraDB for Redis is widely used in the E-commerce industry for business such as commodity presentation and recommendation.

  • Scenario 1: online shopping systems

    An online shopping system is overwhelmed by user traffic during large promotional activities such as flash sales. Most databases are incapable of handling the heavy load. To resolve this issue, you can choose ApsaraDB for Redis for persistent storage.

  • Scenario 2: inventory management systems that support stock taking

    ApsaraDB for Redis is used to count the inventory and RDS is used to store information about the quantities of items. ApsaraDB for Redis instances are deployed on physical servers that use SSD disks. Therefore, data can be synchronized to RDS at high speed.

Live streaming applications

Live streaming is strongly reliant on ApsaraDB for Redis, which is used to store user data and chat records.

  • High availability

    ApsaraDB for Redis can be deployed in a master-replica architecture to significantly improve service availability.

  • High performance

    ApsaraDB for Redis provides cluster instances to eliminate the performance bottleneck that is caused by the single-thread mechanism of native Redis. Cluster instances can handle traffic spikes during live streaming and meet high-performance requirements.

  • High scalability

    ApsaraDB for Redis allows you to deal with traffic spikes during peak hours by scaling out an instance with a few clicks. The upgrade is completely transparent to users.