Redis 5.0 is officially released! All new features are available on the Internet!

Source: Internet
Author: User
Tags redis cluster redis labs

As a unified cache of redis, redis officially released the 5.0 stable version (stable), not excited, open? GitHub link: https://github.com/antirez/redis/releases/tag/5.0.0, let's take a look at what exciting new features it brings:

 

The official list features are as follows:

 

New Features of redis open-source community Edition

Next we will have a deeper understanding of some important features.

Streams

All-new data type: streams. Officially regard this as the most important improvement (the most important user facing improvement is without doubts the introduction

Of the new general purpose data type after years: the streams.

). In addition, the official team mentioned that the streams issue was still fixed several hours before the release, so the official team did not dare to ensure that the release version had some serious bugs (T ), it is recommended that you do not use streams in the production environment, which may have a better experience. People not using the streams can have probably a better production-ready

Experience with redis 5 ).

Next, I will write an article to analyze streams separately. Stay tuned.

Cluster Manager with C

Redis finally abandoned Ruby, maintained redis3.x and redis4.x all know, mainly rely on redis-trib.rb script, redis5.0 completely abandoned it, integrate all cluster management functions into redis-cli completely written in C. You can run the redis-cli -- cluster HELP command to view the help information.

Lolwut

The official description of a new command added by redis5.0 is: A piece of art inside a database command, which can be translated into a piece of art in database commands (humorous foreigners ).

The source code of this method is described as follows:

This file implements the lolwut command. The command shoshould do something

Fun and interesting, and shocould be replaced by a new implementation at each new version of redis. Source code link: Ghost.

Interested students can also extend to read: http://antirez.com/news/123

Lua Improvement

Lua scripts can be better propagated to replicas/AOF. Replicas is also the previous slave. We all know that the slave event of redis has been raging some time ago. Now, redis officially renamed it replicas, and states that unless it is for API backward compatibility, otherwise, the slave term is no longer used (we no longer use the "slave" word if not for API backward compatibility .).

The Lua script now supports timeout and can enter the busy status in replica.

Dynamic Hz

In the past, the Hz versions of redis were fixed, and the 5.0Hz was dynamic to balance the idle CPU usage and response capabilities.

Other features, such as hyperloglog implementation improvement, LFU and LRU information storage added to RDB files, zpopmin/MAX commands added to sorted set, and jemalloc upgraded to 5.1, will not be explained one by one.

New Features of redis enterprise software

The redis open-source license migrates from agpl to a license that combines Apache V2.0 with commons clause. The features described below are no longer open-source software, but source available ).

Note: The original intention of commons clause is to defend against some bad behaviors. For example, companies that use source code but do not make compensation for source code maintenance ." ---- Commons clause developer and fossa founder Kevin Wang.

Support docker

Now the official version officially supports deploying and running redis clusters on docker containers. With official images, you can easily and quickly deploy several containers to run a scalable, highly available redis cluster. For more information, visit https://redislabs.com/redis-enterprise-documentation/getting-started/docker /.

Redis Labs' modules

Redis Labs has developed three modules and are certified by redis enterprise software (RS). These modules are:

Redisearch: This module turns Rs into a memory-based distributed full-text index and search engine. It feels awesome (ES indicates not satisfied ).

Rejson: The Module name indicates that JSON is the built-in data type of redis.

Rebloom: RS has an extensible bloom filter and is a data type. The bloom filter is a probabilistic data structure. It is very convenient to quickly determine whether certain elements are contained in a set.

Redis 5.0 is officially released! All new features are available on the Internet!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.