当前位置:网站首页>Huawei cloud gaussdb (for redis) unveiling issue 19: gaussdb (for redis) comprehensive comparison with CODIS
Huawei cloud gaussdb (for redis) unveiling issue 19: gaussdb (for redis) comprehensive comparison with CODIS
2022-06-25 17:32:00 【Hua Weiyun】
One 、Codis How hot it is ?
say Codis It is the most popular self built in China Redis Cluster solution , Not at all . The customer once said :
“Codis Don't you know? ? Our company has used it for many years , Good stuff .”
You bet , Compared to open source with decentralized architecture Redis Cluster,Codis such proxy Agent clusters are obviously more “ To use ”, Even even RedisLabs Officials have launched similar functions redis-cluster-proxy To make up for tradition Cluster shortcoming .
But in fact, from N Years ago ,Codis There is no one to maintain the community , Our client project manager, Mr. Haipeng, often helps clients build their own projects Codis Moving to the cloud GaussDB(for Redis).

Codis It's really excellent , But we can responsibly say :
Hua Wei Yun KV database GaussDB(for Redis) Better !
Two 、GaussDB(for Redis) vs Codis: Architecture Competition
First , Let's look at the difference between the two products from the perspective of technical architecture .

Pictured , The differences in architecture are clear at a glance , We can analyze it from the top down :
1. Non-standard SDK vs standard SDK
Public cloud users generally hate “ Make special ”, However Codis We have to do something special .Codis Kidnapping users must use non-standard Jodis SDK To solve the single point of failure of the agent layer . But if users prefer to use standards SDK( As famous as Jedis) Well ?Codis Express : I'm sorry , Say goodbye to Gao Ke .
contrary ,GaussDB(for Redis) It is very friendly in use , The business side uses any standard SDK Will do , At the same time, it is highly available 、 Automatic load balancing capabilities are all in . When moving to the cloud ,GaussDB(for Redis) Compatibility is also very mature , No matter what the customer's original code is StandAlone, still Cluster、Sentinel Equal mode , Fine 0 Transform the cloud , Really use it out of the box , Excellent experience .
2. No load balancing vs Professional ELB
Codis Although the agent layer of provides horizontal expansion capability , But it's not easy to use : Or sacrifice high to use standards SDK Connecting a single point ; Or use Jodis SDK, But the price is that the business is going to be non-standard .
and GaussDB(for Redis) Provide ELB, It is convenient for users to access uniformly , While simplifying client complexity , Also brought Professional load balancing capability . With this unified access IP, Users are equivalent to using a single machine with super large capacity Redis, You don't need to worry about the bottom details .
3. Storage and calculation coupling vs Deposit is separate
It can be said that ,Codis It is in multiple sets Redis A layer of packaging is made on the chip , The architecture model is the traditional memory computing coupling . At large key、 Data consistency 、 Slice failure 、 In typical scenarios such as expansion and contraction , Both continue open source Redis Long term “ Pain points ”.
GaussDB(for Redis) Adopt the architecture of separation of storage and calculation , The computing layer focuses on data services , The storage tier is based on high-performance distributed shared storage pools , Make sure The storage of three copies of data is strongly consistent , Ultra high reliability . At the same time, the hardware cost is greatly saved , Help business minus
3、 ... and 、GaussDB(for Redis) vs Codis: Feature competition
From the comparison of architecture dimensions mentioned above, we can see ,GaussDB(for Redis) There are ELB Let the business side “ Better to use ”, There is a storage pool for data “ More reliable ”, Compared with self built Codis The cluster is too good .
Let's talk about it from the feature dimension ,GaussDB(for Redis) What value can it bring to the business side .
1. Compatibility
GaussDB(for Redis) Fully compatible with Redis agreement , Compatible with StandAlone/Cluster/Sentinel Many other kinds SDK Pattern , Facilitate business relocation to the cloud . and Codis The compatibility of is very poor .

1. stability
build by oneself Codis Cluster stability strongly depends on open source Redis Ability , Whether it is expansion or expansion key scene , All have the same pain points , No more details here .
GaussDB(for Redis) The self-developed architecture completely solves the problem of open source Redis Of fork problem , Greatly improved stability ; meanwhile , Under the deep cooperation with the distributed storage pool Architecture , The reliability of the data is also better than Codis.
2. cost
Codis It is still traditional pure memory Redis Encapsulation , The business will touch the cost pain point if it does not save much . With the long-term development of the business , Gradually, there will be data cooling ( Such as APP Cold users of ), here Codis The proportion of really valuable thermal data in the market is getting lower and lower , The cost of full data in memory can be quite high .
GaussDB(for Redis) The calculating power of is selected according to needs , Low storage prices , Very suitable for large capacity KV Storage scenarios .
Four 、 summary
Codis It was once favored by many students in development and operation , It is the memory of the times , however , Technology is developing rapidly . ad locum , It is suggested to use Codis You can consider using GaussDB(for Redis), Feel the enterprise class of huaweiyun KV The new value of databases .
5、 ... and 、 appendix
- The author of this article :
Huawei cloud database GaussDB(for Redis) The team
- Hangzhou / Xi'an / Shenzhen resume delivery :
- More product information , Welcome to the official blog :
bbs.huaweicloud.com/blogs/248875
Hua Wei Yun 618 In the middle of the year, great efforts are under way ,GaussDB(for Redis) 8GB new user 1 Annual enjoyment 1 fold , And RDS for MySQL Combined order offers more ,382 element (0.5 fold ) You can start , Scan code and place an order !

边栏推荐
猜你喜欢

超全金屬PBR多通道貼圖素材網站整理

【UVM实战 ===> Episode_1 】~ MCDF设计更新、AMBA标准接口、UVM验证环境更新
![[matlab] data interpolation](/img/b8/d7e1a5f7c6f56c8312a1fb5d517ac6.png)
[matlab] data interpolation

PLSQL storage function SQL programming

上线移动ERP系统有哪些步骤?环环紧扣很重要
![[efficiency] another note artifact is open source!](/img/f7/bcea89deaac3e6a6716df7826c1078.jpg)
[efficiency] another note artifact is open source!

CVPR小目标检测:上下文和注意力机制提升小目标检测(附论文下载)

数学建模——线性规划

Old mobile phones turn waste into treasure and serve as servers

try with resource
随机推荐
项目经理在项目中起到的作用
RuntimeError: Trying to backward through the graph a second time (or directly access saved variable
Precautions for using Jerry's timer [chapter]
Under the same WiFi, the notebook is connected to the virtual machine on the desktop
Super Full Metal PBR Multi - channel Mapping Materials website collation
学习太极创客 — MQTT(一)MQTT 是什么
Distinguishing seven kinds of facial expressions by deep separable convolution neural network
用连续自然数之和来表达整数
【编译原理】概述
The role of the project manager in the project
Precautions for using timer_cap.c of Jerry [chapter]
golang list to string
CVPR small target detection: context and attention mechanisms improve small target detection (attached with paper Download)
Uncover ges super large scale graph computing engine hyg: Graph Segmentation
Can I open an account? Is it safe to open an account
什么是公链开发?公链开发项目有哪些?
golang list to string
Interrupt operation: abortcontroller learning notes
Precautions for the use of Jerry's wake-up mouth [chapter]
Jerry's addition of encrypted file playback function [chapter]