ApsaraDB for Redis instances have multiple advantages compared with self-managed Redis databases deployed on your servers, such as high data security, easy O&M, and optimized kernel.
|Item||ApsaraDB for Redis||Self-managed Redis|
|Security protection||Precautionary measures:
|In-process protection: implements SSL encryption. For more information, see Configure SSL encryption.||In-process protection: requires a third-party tool to implement SSL encryption.|
|Post audit: supports audit logs. For more information, see View audit logs.||Post audit: does not provide the auditing feature.|
|Backup and restoration||Performance-enhanced instances of the ApsaraDB for Redis Enhanced Edition (Tair) support the data flashback feature that allows you to restore data to a specific point in time. For more information about performance-enhanced instances, see Performance-enhanced instances. For more information about the feature, see Use data flashback to restore data by point in time.||Only full data restoration is supported.|
|Deployment and scaling||Supports instant activation and elastic scaling.||Requires a long period of time to complete hardware procurement, hosting of data centers, and machine deployment. You must manage node relationships when you add nodes.|
|High availability (HA)||
|Memory||Provides 100% memory availability. Memory overheads caused by disaster recovery, O&M
management, scaling, and data persistence (such as write-time replication of forks)
are borne by Alibaba Cloud and are not counted towards instance memory.
For example, if you create a 64 GB ApsaraDB for Redis instance, the available memory capacity is 64 GB.
|Requires a reserve of 25% to 40% of memory for disaster recovery, O&M management,
For example, if you purchase two 64 GB Elastic Compute Service (ECS) instances to build master-replica Redis instances, the available total memory capacity is usually less than 45 GB.
Note ApsaraDB for Redis is fully compatible with open source Redis. For more information, see Which version of Redis is ApsaraDB for Redis compatible with? You can connect to a database of an ApsaraDB for Redis instance in the same way as you connect to an open source Redis database. As such, you can choose any client that is compatible with the Redis protocol to connect to an ApsaraDB for Redis database. For more information, see Use a client to connect to an ApsaraDB for Redis instance.