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.
ApsaraDB for Redis also has an enhanced edition called "Tair" . Tair has officially handled the data caching scenarios of Alibaba Group since 2009 and has proven its outstanding performance in scenarios such as Double 11 Shopping Festival.
Simple Key Value Storage
Facilitates quick deployment of services.
Provides multiple views of monitoring statistics which can be managed from Alibaba Cloud Management Console for hosted Redis.
Supports multiple data operations to meet complex user requirements.
Compatible with all data types defined in open-source Redis protocol, including string, hash, list, set and sorted set.
Rapidly deploys Redis-compliant cache services.
Provides infrastructure provisioning and easy maintenance of cache software.
Compatible with existing tools or clients like Jedis.
One-click storage capacity expansion:
Allows you to scale storage capacity up or down in real time through Management Console (the function can be enabled with request during the public beta version of the ApsaraDB for Redis).
Eliminates interruptions caused by single point of failure (SPOF) using master-slave dual node for every instance.
Automatically detects any kind of failure in hardware and quickly provides recovery options to restore the service.
Provides high-speed data read-write capability.
Ensures persistent data storage by using memory and hard disk storage mode.
Offers excellent backup services using master and slave dual nodes.
Smooth Transaction Operation
ApsaraDB for Redis supports transaction function defined in the Redis protocol.
Implements atomic operation, which consists of multiple commands sent from a single client.
Advanced Message Notification Mechanism
Enables message Pub/Sub function by decoupling the publish client and subscribe client based on event notification mechanism.
Implements interconnections among multiple clients in hosted Redis.
Deploying Multi-Regional Applications on Alibaba Cloud
This solution enables you to deploy applications in multiple regions; connect regional networks into a central internal network; migrate an Express Connect-based deployment to a CEN-based deployment; and deploy replication between multiple cross-regional ApsaraDB for RDS database systems.
Building an Auto Scaling System on Alibaba Cloud
This solution allows you to automatically adjust the compute capacity in response to traffic fluctuations. The contents include database scaling to meet increased data demands and Redis caching across zones to ease the load on the database.
Certification course: Introduction to Redis
This course introduces the basic concepts of the Redis database,installation configurations, and highly available distributed clustering solutions.
1. Does ApsaraDB for Redis support public network access?
No, ApsaraDB for Redis only supports access within the Alibaba Cloud intranet. Only applications deployed on ECS instances can connect to ApsaraDB for Redis hosting for data operations.
2. What is the default data eviction policy of ApsaraDB for Redis?
The default eviction policy of ApsaraDB for Redis is "no eviction". No keys will be evicted, and no writes will be possible until more memory is freed. You can modify the settings in "Policy Settings" through ApsaraDB for Redis console.
Note: ApsaraDB for Redis adopts volatile-LRU by default, which is different from ApsaraDB for Redis.
3. How can I connect to ApsaraDB for Redis through a command line interface?
You can use the native Redis tool redis-cli or Alibaba Cloud Data Management Service(DMS) to connect to your ApsaraDB for Redis instance through a command line interface.
For more information, see use redis-cli and use DMS.
4. Would updates made on the master node be automatically synchronized to the associated standby node?
Yes, updates on the master node are automatically synchronized with the associated slave node. Alibaba Cloud ApsaraDB for Redis supports asynchronous replication.
5. What is the re-connection mechanism after client time-out?
A client time-out may arise from network problems or due to any other issue with servers. Also, there is no explicit correspondence between request and response in the Redis protocol.
In the case of access time-out to ApsaraDB for Redis, you need to disconnect to avoid protocol errors and set up a connection again.
Note: Although ApsaraDB for Redis is compatible with a majority of Redis clients, some do not have an auto-reconnection mechanism. For such clients, you need to manually reconnect to the ApsaraDB for Redis when a time-out occurs.
6. Which Redis version is ApsaraDB for Redis compatible with?
7. Which Redis features and commands does ApsaraDB for Redis support?
8. Can I import my Redis data into ApsaraDB for Redis?
9. Does ApsaraDB for Redis support Redis LUA scripts?
No, ApsaraDB for Redis does not support Redis LUA scripts.
10. Does ApsaraDB for Redis support "distributed clusters"?
At present, ApsaraDB for Redis instances which are 128GB or above can support distributed cluster instances. These distributed cluster instances provide larger storage capacity and higher processing capability compared to regular instances. You can get more information about ApsaraDB for Redis distributed cluster instances here.
11. Does ApsaraDB for Redis cluster instance support hash_tag?
12. What is the relationship between ApsaraDB for Redis and Redis?
ApsaraDB for Redis is a key value cloud database service built by Alibaba Cloud and is compatible with the Redis protocol and supports a majority of the Redis commands. You can easily connect with ApsaraDB for Redis for data storage and related operations.
13. Does ApsaraDB for Redis support data persistence?
Yes, ApsaraDB for Redis extends support for data persistence by adopting memory and hard disk data storage mode. However, currently the data persistence mode/frequency is set automatically by ApsaraDB for Redis.
14. Why doesn’t my new ApsaraDB for Redis instance show zero in the beginning?
The product behavior of ApsaraDB for Redis is similar to Redis. But when a new instance is created, it generates some dictionary class system files of 1-2MB, so a fraction of storage space of the instance usually gets occupied. Hence, the usage doesn’t reflect zero in the beginning on the ApsaraDB for Redis console whenever a new ApsaraDB for Redis instance is created.
15. Does ApsaraDB for Redis support master-slave double node backup?
Yes, synchronization and failover between master and slave nodes are all managed by ApsaraDB for Redis. You don’t need to make any maintenance efforts on your own.
16. Does ApsaraDB for Redis support read-only slave node?
No. ApsaraDB for Redis adopts a master-slave structure in which slave nodes do not support read-only model.
17. Does ApsaraDB for Redis support N slave nodes for one master node?
No, currently the master and slave nodes are mapped one-to-one and work synchronously.
18. Can I customize the hash algorithm for an ApsaraDB for Redis Cluster instance?
No, ApsaraDB for Redis Cluster instance does not support the user-defined hash algorithm. It adopts the standard hash algorithm, followed by Redis Cluster.
Upgraded Support For You
1 on 1 Presale Consultation, 24/7 Technical Support, Faster Response, and More Free Tickets.