Advantages over Open-Source Reds
GeminiDB Redis API has great advantages over open-source Redis in terms of product architecture, cost, storage, security, reliability, fault recovery, and O&M. GeminiDB Redis API helps you easily roll out services.
Product Architecture
- GeminiDB Redis API
Figure 1 Product architecture
- Open-source Redis
Figure 2 Open-source Redis architecture
Item |
GeminiDB Redis API |
Open-source Redis |
---|---|---|
Architecture |
GeminiDB Redis API features:
|
Open-source Redis features:
|
Service Scenarios
Item |
GeminiDB Redis API |
Open-source Redis |
---|---|---|
Service scenarios |
Has high requirements on:
Is suitable if:
|
Has low requirements on:
Is suitable if: Only small volume of data is involved and the data is valid within a short period of time. |
Other Advantages
Item |
GeminiDB Redis API |
Open-source Redis |
---|---|---|
Cost |
Cost reduced by 75% to 90% GeminiDB Redis API supports full flush to disks and uses the GaussDB basic component service at low costs. |
Extremely high hardware cost All data of open-source Redis is stored in memory, and the fork mechanism results in low disk utilization. |
Maximum capacity |
PB-level data volume Compute and storage resources are decoupled, so they can be scaled flexibly and separately at the same time to meet performance requirements. |
100-GB data volume As more and more data needs to be stored and processed, hardware costs of a Redis cluster increase sharply, and the Gossip protocol of the cluster becomes inefficient. |
Capacity usage |
100% GeminiDB Redis API uses a self-developed architecture and is not affected by fork issues. Almost all the persistent storage space you purchased is available. |
<50% Open-source Redis is affected by the exclusive fork mechanism. The memory required will be doubled theoretically during peak hours when a snapshot is taken, data is replicated between master and slave nodes, or data is rewritten to an AOF file. The memory usage must be less than 50% to ensure data security. |
Specifications |
1 GB fine-grained and pay-per-use mode |
Discontinuous options such as 32 GB, 48 GB, or 64 GB Assume that the service data volume is about 30 GB. You can only buy a cloud Redis database of 64 GB storage considering that the efficient memory usage is less than 50%, which is a waste of resources. |
Data compression |
Logical compression and physical compression are combined, saving more space than open-source Redis.
|
Only logical compression is used. |
Latency |
The average latency is on par with open-source Redis', but the p9999 latency is higher. |
The average latency and the p9999 latency are both low. |
Write resistance |
Strong A multi-thread architecture is used, so multiple nodes support concurrent writes, making it easy to double the throughput. |
Weak A single-thread architecture is used, so only the master node in a Redis cluster supports writes. There are OOM risks during peak hours. |
Data reliability |
High Data is flushed to disks in real time by command. Three copies of data are stored at the storage layer to avoid data loss. |
Low Memory data is flushed to disks in seconds, but asynchronous replication between master and slave nodes is not timely. This may cause data loss. |
Data consistency |
Strong Three-copy storage ensures strong consistency, and dirty reads are prevented during multi-point access |
Weak Data is replicated asynchronously between master and slave nodes, so you may obtain inconsistent data if you access master and salve nodes at the same time. |
Availability |
High GeminiDB Redis provides superlative fault tolerance (N-1 reliability). |
Medium
|
Fault recovery |
Minute-level recovery. The data recovery duration is irrelevant to the data volume. In the shared-everything architecture, data can be taken over immediately by available nodes, requiring little time to load. |
The larger the data volume is, the longer the restoration takes. Data is physically distributed on multiple independent nodes. During fault recovery, RDB snapshots are loaded from disks to the memory, which takes a long time. |
Load balancing |
Supported Fine-grained data sharding and dynamic load balancing between nodes are supported. |
Not supported Third-party components are required. |
Scale out |
Seamless scale-out
|
Time-consuming and great impact on services Data shards are stored in the memory of each node. Data migration means that new nodes are added and data is replicated and migrated, which is time-consuming. |
Security |
High
|
Low
|
O&M |
One-stop services GeminiDB Redis database expert teams provide mature migration solutions, real-time monitoring, fault warning, and 24/7 support. |
Depends on quality of the cloud service you used. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.