All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Functions and features

Last Updated:Aug 15, 2024

KVStore for Redis

Category

Feature

Description

References

Architecture

Master-replica architecture

A standard master-replica instance consists of one master node and one replica node.

Standard master-replica instances

Read/write splitting ️architecture

You can enable the read/write splitting feature. A read/write splitting instance consists of one master node and up to nine read replicas. You can change the number of read replicas at any time.

Read/write splitting instances

Cluster architecture

KVStore for Redis supports the native Redis Cluster architecture and the cluster architecture in proxy mode. A cluster instance can contain 2 to 256 shards, with the memory of each shard ranging from 1 GB to 64 GB. The total memory capacity of shards ranges from 2 GB to 16 TB.

Cluster master-replica instances

Standalone architecture

A standalone instance consists of only one node and its price is 50% that of a standard master-replica instance. The standalone architecture does not support backup and restoration, ensure data reliability, or provide service-level agreement (SLA) guarantee. It is suitable for cache-only scenarios.

-

Specification and architecture change

Configuration upgrade

You can upgrade the configurations of an instance by expanding the storage capacity of individual shards and increasing the number of shards.

Change the configurations of an instance

Configuration downgrade

You can downgrade the configurations of an instance by reducing the storage capacity of individual shards and decreasing the number of shards.

Change the configurations of an instance

Cross-architecture configuration change

KVStore for Redis allows you to seamlessly migrate between the standalone, master-replica, read/write splitting, and cluster architectures without altering application code.

Change the configurations of an instance

Version compatibility

Compatibility with Redis 4.0, 5.0, 6.0, and 7.0

KVStore for Redis is compatible with Redis 4.0, 5.0, 6.0, and 7.0.

New features and compatibility changes of major versions of Redis

Compatibility with Memcache

KVStore for Redis is compatible with the Memcache API.

What is ApsaraDB for Memcache?

Security

Dynamic masking of commands

High-risk commands can be dynamically disabled without the need to restart an instance.

Disable high-risk commands

Multi-account management

This feature allows you to create multiple accounts and grant permissions to each account.

Create and manage database accounts

IP address-based access control

This feature supports dynamic access control based on IP address whitelists.

Configure whitelists

Associated security groups

Security groups can be used to dynamically control access.

Step 2: Configure whitelists

Write operation audit

This feature enables the logging of each write request, capturing details such as the exact time of the operation, client IP address, user account, and associated keys. This information is essential for analyzing data anomalies.

Audit log feature

Transparent data encryption (TDE)

TDE is supported.

Enable TDE

IP address whitelist templates

An IP address whitelist template can be associated with multiple instances to easily maintain the IP address whitelists of multiple instances.

Configure an IP whitelist template

Transport Layer Security (TLS) and SSL

TLS and SSL encryption is supported.

Enable TLS encryption

Recycle bin

The recycle bin feature is supported.

Manage instances in the recycle bin

Observability

Multiple metrics

KVStore for Redis supports multiple metrics, such as Memory, Stats, CPU, and Keyspace. This allows you to monitor the status of instances from multiple perspectives.

View performance monitoring data

Latency insights

This feature offers a multi-dimensional, precise display of latency statistics for various Redis commands and special events to improve the efficiency of database troubleshooting.

Latency insights

Analysis of large keys and hotkeys

KVStore for Redis provides both offline analysis of large keys across the entire dataset and real-time analysis of requested keys. This allows for quick identification of large keys and hotkeys.

Large keys and hotkeys

Slow log analysis

This feature allows you to view and analyze slow logs, giving you clues about how to optimize requests.

Query slow logs

Lifecycle management

Lifecycle management

This feature allows you to manage an instance throughout its lifecycle, including creating, releasing or unsubscribing from, changing the billing method of, upgrading the version of, and restarting the instance.

Lifecycle management

Backup and restoration

Manual backup

Manual backup is supported. Up to 15 backup data copies can be retained per day.

Automatic or manual backup

Automatic backup

The system automatically performs backups based on the backup policy that you set.

Automatic or manual backup

Full data restoration

Data can be restored from a backup set to a new instance.

Restore data from a backup set to a new instance

Data flashback

This feature allows you to restore an entire instance or the keys of the instance to a point in time accurate to the second.

Use data flashback to restore data by point in time

High availability

Automatic and manual master-replica switchover

KVStore for Redis supports both automatic high-availability failover and manual master-replica switchover. This facilitates real-time disaster recovery drills.

Manually switch workloads from a master node to a replica node

Restart or rebuild of proxy nodes

KVStore for Redis allows you to manually restart or rebuild proxy nodes. This facilitates real-time disaster recovery drills and allows for proactive O&M in the event of service anomalies or elevated latency.

Restart or rebuild a proxy node

Connection management

Virtual private cloud (VPC) or vSwitch change

The VPC or vSwitch of an instance can be changed.

Change the VPC or vSwitch of an instance

Applying for or releasing a public endpoint

By default, KVStore for Redis provides only VPC endpoints. If you want to connect to a KVStore for Redis instance over the Internet, you can apply for a public endpoint for the instance.

Apply for a public endpoint

Enabling or releasing private endpoints

KVStore for Redis allows you to enable the direct connection mode, providing compatibility with the native Redis Cluster protocol.

Enable the direct connection mode

Scalability

Manual and automatic activation of bandwidth plans

KVStore for Redis provides the flexibility to manually or dynamically increase the bandwidth of an instance without adjusting the instance type to easily cope with traffic spikes.

Enable bandwidth auto scaling

Imperceptible scaling

Instance scaling is completely imperceptible to clients. It does not cause service interruptions or put the instance into a read-only state. This feature meets the requirements for on-demand elastic resource scaling.

Imperceptible scaling

Performance optimization

Proxy query cache

After proxy query cache is enabled, proxy nodes cache requests for hotkeys and their associated query results.

Use proxy query cache to address issues caused by hotkeys

Log management

Audit logs

KVStore for Redis allows you to enable, query, and download audit logs.

Audit log feature

Query of slow logs

KVStore for Redis allows you to query the slow logs of data nodes and proxy nodes.

Query slow logs

Query of active logs

KVStore for Redis allows you to query the active logs of an instance.

View active logs

Task management

Change of the scheduled maintenance window of O&M tasks

O&M tasks can be performed during the maintenance window and the maintenance window can be changed as needed.

ModifyActiveOperationTask

Query of O&M task progress

The progress of O&M tasks can be queried.

DescribeActiveOperationTask

Parameter management

Instance parameter configuration

Instance parameters can be configured.

Configure instance parameters

Parameter query

The parameter list can be viewed.

Parameters that can be configured for ApsaraDB for Redis instances