Home > Database > Redis > body text

What are the features of Redis5.0

王林
Release: 2023-05-26 18:16:36
forward
1482 people have browsed it
  1. New Stream data type

  2. New Redis module API: Timers, Cluster and Dictionary API APIs)

  3. RDB can now store LFU and LRU information

  4. Cluster manager in redis-cli from Ruby (redis-trib.rb ) ported to C language code. To learn more about Redis Cluster, please execute the command: `redis-cli --cluster help`

  5. New ordered set (sorted set) command: ZPOPMIN/MAX and blocking Blocking variants

  6. Upgrade Active defragmentation to v2 version

  7. Enhance the implementation of HyperLogLog

  8. Better memory statistics reporting

  9. Many commands that contain subcommands now have a HELP subcommand

  10. Clients connecting frequently and Better performance when disconnected

  11. Many bug fixes and other improvements

  12. Upgraded Jemalloc to version 5.1

  13. Introducing CLIENT UNBLOCK and CLIENT ID

  14. New LOLWUT command http://antirez.com/news/123

  15. Deprecate the "slave" terminology where there is no need to maintain backward compatibility

  16. Differential optimization in the network layer

  17. Lua related improvements:


  • Better propagation of Lua scripts to replicas / AOF

  • Lua scripts can now time out and enter the -BUSY state in the replica


  • ##Introducing dynamic HZ (Dynamic HZ) To balance idle CPU usage and responsiveness

  • The Redis core code has been refactored and improved in many aspects

  • Before the official release, judging from the previously disclosed information, Redis Streams is the focus of this release.

    Stream is a new data type introduced in Redis 5.0, which simulates the log data structure in a more abstract way, but the essence of the log remains intact: just like a log file, it is usually implemented to be opened in append-only mode For files, Redis streams are mainly append-only data structures. At least conceptually, because Redis Streams are an abstract data type represented in memory, they enable more powerful operations to overcome the limitations of the log file itself.

    With the first introduction of Stream in java8, other frameworks and languages ​​are also introducing Stream one after another. For example, I recently heard that Javascript is introducing the Stream feature.

    The above is the detailed content of What are the features of Redis5.0. For more information, please follow other related articles on the PHP Chinese website!

    Related labels:
    source:yisu.com
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!