当前位置:网站首页>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-24 04:17:00 【Hua Weiyun】
- gaussian Redis database :bbs.huaweicloud.com/blogs/248875
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 reduce business burden .
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 .

2、 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.
3、 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
边栏推荐
- 英特尔 XTU 官方超频工具已支持 Win11 22H2 和 13 代酷睿 Raptor Lake 处理器
- openEuler Kernel 技术分享第 20 期 | 执行实体创建与切换
- TCP three handshakes and four waves
- Go operation mongodb
- Browser rendering mechanism
- How to set the domain name on the server what is the role of the domain name
- Tsingsee Qingxi video easycvr integrated Dahua face recognition equipment
- C language - number of bytes occupied by structure
- How to adjust the alarm information that remains unchanged after paging is selected on the easygbs alarm page?
- Easyanticheat uses to inject unsigned code into a protected process (2)
猜你喜欢

Black hat SEO practice: General 301 weight PR hijacking

博士申请 | 香港科技大学(广州)刘浩老师招收数据挖掘方向全奖博士/硕士

mysql - sql执行过程

共建欧拉社区 共享欧拉生态|携手麒麟软件 共创数智未来

Application practice | Apache Doris integrates iceberg + Flink CDC to build a real-time federated query and analysis architecture integrating lake and warehouse

Jointly build Euler community and share Euler ecology | join hands with Kirin software to create a digital intelligence future

讲讲我的不丰富的远程办公经验和推荐一些办公利器 | 社区征文

The results of the 2022 open source summer were announced, and 449 college students will contribute to open source projects

抢先报名丨新一代 HTAP 数据库如何在云上重塑?TiDB V6 线上发布会即将揭晓!

Training course of mixed accuracy from simple to deep
随机推荐
Student information management system user manual
微博国际版更名为微博轻享版
Clickhouse synchronous asynchronous executor
Protect your system with fail2ban and firewalld blacklists
There is such a shortcut to learn a programming language systematically
Exploration of web application component automatic discovery
What is pseudo static? How to configure the pseudo static server?
博士申请 | 香港科技大学(广州)刘浩老师招收数据挖掘方向全奖博士/硕士
多任务视频推荐方案,百度工程师实战经验分享
API real-time signature scheme based on Yapi
Easyplayer consumes traffic but does not play video and reports an error libdecoder Wasm404 troubleshooting
Mac CentOS installation phpredis
英特尔 XTU 官方超频工具已支持 Win11 22H2 和 13 代酷睿 Raptor Lake 处理器
Understanding of structure in C language
How should the server be placed?
Black hat SEO actual combat search engine snapshot hijacking
华为云GaussDB(for Redis)揭秘第19期:GaussDB(for Redis)全面对比Codis
How to select a telemedicine program system? These four points are the key!
Flutter series: offstage in flutter
给你讲懂 MVCC