Abstract: On September 8, Huawei Cloud GuassDB (for Redis) officially launched a new version. The new version of the kernel brings multi-dimensional product experience such as performance improvements, lossless upgrades, and slow log statistics. At the same time, it introduces two important functions, Lua script and SSL connection encryption, to make business design more flexible and public network access more secure.
This article is shared from the Huawei Cloud Community " Huawei Cloud GuassDB (for Redis) releases a new version, two core features officially unveiled at ", author: GaussDB database.
On September 8, Huawei Cloud GuassDB (for Redis) officially launched a new version. The new version of the kernel brings multi-dimensional product experience such as performance improvements, lossless upgrades, and slow log statistics. At the same time, it introduces two important functions, Lua script and SSL connection encryption, to make business design more flexible and public network access more secure.
GaussDB (for Redis) is an enterprise-level distributed KV database launched by HUAWEI CLOUD. It is fully compatible with the Redis protocol and provides rich data types. At the same time, it is based on a cloud-native storage and computing separation architecture, bringing new ideas to enterprises in terms of cost and reliability. Value, the two major features introduced this time bring a brand new experience for the development of enterprise business.
Lua script function: business design is more flexible
The Lua script function introduced by GaussDB (for Redis) supports user preset logic and executes multiple commands in combination, making business design more flexible. In terms of usage, the Lua script function of GaussDB (for Redis) remains fully compatible with open source Redis. The user can compile a group of commands into a Lua script and hand it to GaussDB (for Redis) for execution, so as to achieve the effect of atomic operations.
Compared with the open source Redis Cluster, the Lua script function of GaussDB (for Redis) is better:
script execution is not easy to cause request blocking: This is because the GaussDB (for Redis) instance has more fine-grained data shards, and each shard has the ability to execute commands in multiple threads.
eliminates the side effects of "script replication": open source Redis master-slave script replication restricts functions such as time modules and random commands. The GaussDB (for Redis) kernel adopts a new implementation without such restrictions, making business design easier.
strong consistency guarantee: in high concurrency scenarios, GaussDB (for Redis) provides strong data consistency guarantee, and multi-point access to the business will not cause dirty reads.
Based on past experience, Lua scripts play a key role in some business scenarios. For example, the order system requires that the user balance does not appear negative, and the inventory system must avoid oversold goods... They all need to use Lua scripts to ensure "query + deduction" Atomicity semantics. GaussDB (for Redis) combines Lua scripts with strong consistency features to bring great flexibility to business design.
SSL connection encryption function: public network access is more secure
The SSL connection encryption function provided by GaussDB (for Redis) supports the client to use the SSL protocol to connect to the database, which improves the security of public network access. Users only need to download the certificate from the HUAWEI CLOUD console and use a client that supports the SSL protocol (such as Redis-cli 6.0) to establish a secure and reliable connection with the instance.
Through the console, users can also enable or disable the SSL connection mode at any time. When the connection mode is switched, the old connection will be disconnected to ensure the network security of the instance.
Compared with the open source Redis 6.0 SSL, GaussDB (for Redis) remains compatible and brings the following advantages:
- better performance: has a smaller performance loss after SSL is turned on, about 15%; while open source Redis loses more.
- multithreading is perfectly compatible: enabling SSL does not affect the multithreading concurrency, and there is a conflict between the open source Redis SSL and multithreading.
In some scenarios, the business needs to access the database from the public network or even overseas. At this time, for core data storage, the security of the entire link is particularly important. The new version of GaussDB (for Redis) can greatly improve the security of public network access.
GuassDB (for Redis) core values
As a cloud-native KV database, GaussDB (for Redis) has the ability to fully lead open source Redis:
- cost of 161416fcd8f036 is reduced by more than 75%: full data on disk, with high capacity utilization
- high stability: even if the N-1 node fails, the full amount of data is still available
- high reliability: data three copies of redundant storage, no risk of loss
- strong consistency: strong consistency guarantee, multi-point access without dirty read problems
- strong anti-write ability: can be written, multi-threaded design
- strong expansion capability: node expansion in minutes, capacity in seconds
At present, GaussDB (for Redis) has played a huge role in many enterprise application scenarios such as game systems, e-commerce platforms, recommendation systems, social media, and the Internet of Things with its outstanding product strength. The newly launched Lua script and SSL connection encryption two major features have injected new impetus into the digital transformation of enterprises. If you want to experience more product capabilities, welcome to the official website of Huawei Cloud at
Click to follow and learn about Huawei Cloud's fresh technology for the first time~
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。