ApsaraDB for Redis from Alibaba Cloud is a key-value pair storage database that provides in-memory caching and high-speed access to cloud-hosted applications. The ApsaraDB database stack is part of Alibaba Cloud's larger database services offering. RDS, Memcache, MongoDB, and Redis are all supported by the ApsaraDB suite.ApsaraDB from Alibaba Cloud relieves you of common system administration responsibilities such as administering big web application in-memory caches and corporate databases. ApsaraDB for Redis comes with an automatic backup system out of the box.
In this tutorial, you'll get started using Alibaba Cloud ApsaraDB for Redis, and explore how you can migrate and back up a local database with Alibaba Cloud ApsaraDB for Redis.
We first had set up our Redis database and made sure it was working, and we set an example key-value pair. Then, we made sure we saved our local Redis database with the appendonly option. Next, after that, we created an Alibaba Cloud ECS Instance on which to host our ApsaraDB for Redis instance. We configured the instance to have Ubuntu 16.04 as our operating system and setup Redis on the instance. Next, we created an Alibaba Cloud ApsaraDB for Redis instance, which was attached to the ECS instance we had just created. We migrated our local database to the Alibaba Cloud instance and checked whether it had migrated successfully. Finally, we performed some network administration in order to be able to access our Alibaba Cloud ApsaraDB for Redis instance from outside the cloud console. We chose the Java Jedis client and wrote a test class to check that we could connect to the cloud database.
Alibaba Cloud ApsaraDB for Redis hybrid storage instances is a proprietary database system solution that is completely compatible with the Redis protocol and features. These hybrid storage instances enable full data storage on a disk rather than in memory, as well as caching hot data in memory, achieving a balance between access performance and storage costs.
The below diagram provides a general picture of the underlying architecture and features of this service.
Hybrid storage instances are compatible with the majority of Redis commands, however the use of the following Redis commands are either not supported or restricted. If you require use of these commands, submit a service ticket.
Live Streaming
Live streaming generates a large amount of hot data, most of which is from popular live streaming rooms. You can use ApsaraDB for Redis hybrid storage instances to store data from popular live streaming rooms in the memory and store data from unpopular rooms on disks. As such, you can make full use of the limited memory space.
E-commerce
E-commerce applications have a large amount of commodity data. New products are frequently accessed, whereas older products are accessed less frequently. Using ApsaraDB for Redis hybrid storage instances, you can easily bypass the memory capacity limit by storing a large amount of commodity data on disks. During normal service requests, active commodity data is gradually cached in the memory to meet business needs at the lowest costs.
Online Education
Online education generates a large amount of data, such as courses, question banks, and data exchanged between teachers and students. Only the latest courses and question banks are frequently accessed. You can use ApsaraDB for Redis hybrid storage instances to store massive course data on disks and transfer frequently accessed courses and question banks to the memory for constant caching. This ensures the access performance of frequently accessed data and strikes a balance between performance and storage costs.
Other Scenarios
In scenarios where hot and cold data is accessed separately, you can use ApsaraDB for Redis hybrid storage instances to reduce storage costs while maintaining the average performance level needed for systems.
ApsaraDB for Redis is an automated and scalable tool for developers to manage data storage shared across multiple processes, applications or servers.
As a Redis protocol compatible tool, ApsaraDB for Redis offers exceptional read-write capabilities and ensures data persistence by using memory and hard disk storage. ApsaraDB for Redis provides data read-write capabilities at high speed by retrieving data from in-memory caches and ensures data persistence by using both memory and hard disk storage mode.
ApsaraDB for Redis supports advanced data structures such as leaderboard, counting, session, and tracking, which are not readily achievable through ordinary databases.
Data serves as a key component for most businesses. Databases are used to store data and play a key role in data management. ApsaraDB for Redis is a high-availability (HA) key-value database service. This service helps you store large amounts of important data in various scenarios. This topic describes disaster recovery solutions provided by ApsaraDB for Redis.
ApsaraDB for Redis provides multiple editions, series types, and architectures.
This topic describes the edition, series type, and architecture specifications of ApsaraDB for Redis instances. You can refer to the following table for more information about the required instance specifications.
Let Us Know What You Think of Alibaba Cloud Documentation through This Survey!
2,599 posts | 758 followers
FollowAlibaba Clouder - February 14, 2020
Alibaba Clouder - February 25, 2020
Alibaba Clouder - July 30, 2019
Alibaba Clouder - August 2, 2019
ApsaraDB - October 16, 2020
Alibaba Clouder - February 25, 2021
2,599 posts | 758 followers
FollowA key value database service that offers in-memory caching and high-speed access to applications hosted on the cloud
Learn MoreMore Posts by Alibaba Clouder