编程知识 cdmana.com

Huawei cloud guassdb (for redis) released a new version, and the two core features were officially unveiled

​​​​ Abstract : 9 month 8 Japan , Hua Wei Yun GuassDB(for Redis) Officially launched a new version . The new version of the kernel brings performance improvements 、 Lossless upgrade 、 Multi dimensional product experience such as slow log statistics , Also launched Lua Scripts and SSL Two important functions of connection encryption , Make business design more flexible , More secure public network access .

This article is shared from Huawei cloud community 《 Hua Wei Yun GuassDB(for Redis) Release a new version , Two core features are officially unveiled 》, author :GaussDB database .

9 month 8 Japan , Hua Wei Yun GuassDB(for Redis) Officially launched a new version . The new version of the kernel brings performance improvements 、 Lossless upgrade 、 Multi dimensional product experience such as slow log statistics , Also launched Lua Scripts and SSL Two important functions of connection encryption , Make business design more flexible , More secure public network access .

GaussDB(forRedis) It is an enterprise level distributed enterprise launched by Huawei cloud KV database , It's fully compatible Redis agreement , Provide rich data types , At the same time, it is based on the separation architecture of cloud native storage and computing , At cost 、 Reliability and other aspects bring new value to the enterprise , The two functional features introduced this time bring a new experience for enterprise business development .

Lua Script function : More flexible business design

GaussDB(forRedis) To launch the Lua Script function , Support user preset logic , Execute multiple commands in combination , Make business design more flexible . How to use it ,GaussDB(for Redis) Of Lua Scripting and open source Redis Remain fully compatible . The user can program a set of commands into Lua Script , hand GaussDB(for Redis) perform , So as to achieve the effect of atomic operation .

Compared to open source Redis Cluster,GaussDB(for Redis) Of Lua Better scripting :

  • Script execution is not easy to cause request blocking : This is because GaussDB(for Redis) There are more fine-grained data fragments inside the instance , At the same time, each partition has the ability of multi-threaded execution of commands .

  • eliminate “ Script copy ” Side effects : Open source Redis The master-slave script copies the time module 、 Random commands and other functions are limited ,GaussDB(for Redis) The kernel adopts a new implementation , There are no such restrictions , Business design is easier .

  • Strong consistency guarantee : In high concurrency scenarios ,GaussDB(forRedis) Provide strong data consistency guarantee , Business multipoint access will not cause dirty reading .

Based on past experience ,Lua Scripts play a key role in some business scenarios , for example : Order system The user balance is required not to be negative , inventory system To avoid oversold …… They all need to be used Lua Script to ensure “ Inquire about + Deduction ” Atomic semantics of .GaussDB(for Redis) take Lua Scripts are combined with strong consistency , Bring great flexibility to business design .

SSL Connection encryption function : More secure public network access

GaussDB(forRedis) Provided SSL Connection encryption function , Support client to use SSL Protocol connection database , Improve public network access security . Users only need to download the certificate from the Huawei cloud console , And use support SSL Protocol client ( for example Redis-cli 6.0), You can establish a safe and reliable connection with the instance .

Through the console , Users can also turn on or off... At any time SSL Connection mode . When the connection mode is switched , The old connection will be disconnected to ensure the network security of the instance .

Compared to open source Redis 6.0 SSL,GaussDB(for Redis) Stay compatible and bring the following advantages :

  • Better performance : Turn on SSL Less performance loss after , about 15%; And open source Redis More losses .

  • Multithreading is perfectly compatible : Turn on SSL Does not affect multithreading concurrency , And open source Redis Of SSL There is an alternative conflict with multithreading .

In some scenarios , The business needs to access databases from the public network or even overseas . here , For core data storage , The security of the whole link is particularly important , new edition GaussDB(for Redis) It can greatly improve the security of public network access .

GuassDB(forRedis) The core value of

As a cloud KV database ,GaussDB(for Redis) It has a comprehensive advantage over open source Redis The ability of :

  • Cost reduction 75% above : Full data down , High capacity utilization

  • high stability : Even if N-1 Node failure , Full data is still available

  • high reliability : Redundant storage of three copies of data , No risk of loss

  • Strong consistency : Strong consistency guarantee , Multipoint access has no dirty read problem

  • Strong write resistance : All nodes are writable , Multithreaded design

  • Strong scalability : Node minute level 、 Capacity second expansion

at present GaussDB(for Redis) It has been used in the game system with excellent product strength 、 Electronic business platform 、 Recommendation system 、 social media 、 Internet of things and many other enterprise application scenarios play a great role . The new Lua Scripts and SSL Two major features of connection encryption , It has also injected new impetus into the digital transformation of enterprises . Want to experience more product capabilities , Welcome to Huawei cloud official website :www.huaweicloud.com/product/gau…

Click to follow , The first time to learn about Huawei's new cloud technology ~

版权声明
本文为[Huawei cloud developer community]所创,转载请带上原文链接,感谢
https://cdmana.com/2021/09/20210909124112683c.html

Scroll to Top