https://github.com/antirez/redis/blob/4.0-rc1/00-RELEASENOTES

数据缓存 · 小程序 https://developers.weixin.qq.com/miniprogram/dev/api/data.html#wxsetstoragesynckeydata

Major features
  ---
   
  * Redis modules system. Redis now allows developers to write modules that can extend the Redis functionalities and implement new data types. The module API implements a complete abstraction layer that separates the Redis core from the module implementation, allowing the same module to be loaded by different versions of Redis without modifications. See the modules documentation here for more info: https://github.com/antirez/redis/blob/unstable/src/modules/INTRO.md
   
  * Partial Replication (PSYNC) version 2. The replication protocol was enhanced (in a backward compatible way, so that 4.0 can still act as a slave of older instances) in order to be able to partially resynchronize slaves and masters in conditions where it was impossible in the past: after a master switch because of a failover and when a slave instance is restared. Even masters turned into slaves will usually be able to partially resynchronize with the new master, if the new master was a former slave of the old master instance. The way the replication work for chained slaves (sub-slaves) is now very different, and each slave receives the same replication stream generated by the top-level master.
   
  * Cache eviction improvements. Redis 4.0 implements LFU (Least Frequently Used) as a new eviction algorithm, and improves the functionality, performances and precision of the existing algorithms. This blog post contains info about the changes: http://antirez.com/news/109
   
  * Lazy freeing of keys. Redis is now able to delete keys in the background in a different thread without blocking the server. The new `UNLINK` command is the same as `DEL` but working in a non blocking way. Similarly an `ASYNC` option was added to `FLUSHALL` and `FLUSHDB` in order to let the entire dataset or a single database to be freed asynchronously.
   
  * Mixed RDB-AOF format. If enabled the new format is used when rewriting the AOF file: the rewrite uses the more compact and faster to generate RDB format, and an AOF stream is appended to the file. This allows faster rewrites and reloads when using the AOF persistence.
   
  * A new MEMORY command, able to perform memory analysis of different kinds: troubleshooting of memory issues (with MEMORY DOCTOR, similar to LATENCY DOCTOR), reporting of the amount of memory used by a single key, more in-depth reporting of Redis memory usage compared to what the INFO command offers.
   
  * Redis Cluster support for NAT / Docker. There are new functionalities in order to force cluster instances to announce specific sets of IP address, client and bus ports, to the rest of the cluster, regardless of the auto detected IP. This required a bus protocol change that will force users to mass-restart all the nodes of a Redis 3.2 installation in order to upgrade to 4.0.
   
  * Redis uses now less memory in order to store the same amount of data. The gain depends a lot on the kind of dataset stored.
   
  Smaller features
  ---
   
  * Improvements to the RDB format to support 64 bit lengths, binary sorted set scores, and more. The RDB file check utility now uses the same code base of the one used by Redis itself in order to load the RDB file in memory.
   
  * SWAPDB command: ability to completely and immediately (no latency) replace two Redis databases.
   
  * Improvements to `dict.c`, the Redis hash table implementation.
   
  * Security improvements mapping POST and Host: commands to QUIT in order to prevent cross protocol scripting attacks.
   
  * RPUSHX and LPUSHX now accept a variable number of elements.
   
  * Reporting of additional memory used by copy on write in the INFO output.
   
  * Serious refactoring of many core parts of Redis.

最新文章

  1. 使用xtrabackup备份mysql数据库
  2. umeng社交分享最新版5.0的跨进程使用崩溃的问题及解法-Android
  3. 用sass画蜗牛
  4. Codeforces Round #185 (Div. 2) B. Archer 水题
  5. Linux网络
  6. 不区分大小写的in_array实现 thinkphp框架
  7. Ftp的断点下载实现
  8. sql server 主从数据库同步 利用发布 订阅是实现
  9. Codeforces 734F Anton and School(位运算)
  10. iOS 之 socket 与 http
  11. C++ 虚指针、成员变量与类对象的偏移地址
  12. 数组的复制及ES6数组的扩展
  13. Dapper 链式查询 扩展
  14. React Native之配置开发环境
  15. Transform(变换)—Y轴lable内容旋转
  16. SpringData中使用@Modifying注解实现修改操作
  17. Java虚拟机 - Javac编译与JIT编译
  18. STM32---定时器的ETR功能
  19. 洛谷P2279 消防局的设立 [HNOI2003] 贪心
  20. ORACLE常见方法使用(转)

热门文章

  1. 总结搭建Oracle11g DG踩的坑
  2. iOS第三方地图-高德地图(导航sdk路径规划)
  3. BZOJ 2595 [Wc2008]游览计划 ——斯坦纳树
  4. BZOJ 3130 [Sdoi2013]费用流 ——网络流
  5. 刷题总结——系列维护(ssoi)
  6. 【2018.9.20】JOI 2017 Final T2「準急電車 / Semiexpress」
  7. 高通android7.0刷机工具使用介绍
  8. 页面中用Context.Handler传递
  9. 【HDOJ6223】Infinite Fraction Path(后缀数组,倍增)
  10. Java 模板权重随机