Wener笔记故事指南
Redis 7.2
- RDB 11
- 命令
- WAITAOF
CLIENT SETINFO
- 设置 Client 名字和版本
CLIENT NO-TOUCH
- 不影响 LRU/LFU
- 优化小数据 KV - listpack
- redis-cli 可以在 subscribe 时继续执行命令
Redis 7
- Redis Functions
- ACLv2 - selector, key 读写限定, 限定子命令
- command introspection - 新增 COMMAND getkeysandflags|list|docs
- Cluster Sharded Pub/Sub
- 50 个新命令
- ZMPOP, BZMPOP, LMPOP, BLMPOP, SINTERCARD, ZINTERCARD
- shared pub/sub - SPUBLISH, SSUBSCRIBE, SUNSUBSCRIBE, PUBSUB SHARDCHANNELS/SHARDNUMSUB
- EXPIRETIME, PEXPIRETIME
- EXPIRE NX/XX/GT/LT
- EVAL_RO, EVALSHA_RO
- SORT_RO
- SHUTDOWN NOW|FORCE|ABORT
- FUNCTION, FCALL, FCALL_RO
- 管理
- COMMAND DOCS|LIST|INFO
- LATENCY HISTOGRAM
- CLUSTER LINKS|DELSLOTSRANGE|ADDSLOTSRANGE
- CLIENT NO-EVICT
- ACL DRYRUN
Redis 6
- SSL
- ACLs
- RESP3
- Client side caching
- Threaded I/O - 部分多线程
- Diskless replication on replicas
- Cluster support in Redis-benchmark
- improved redis-cli cluster support
Redis 5
Redis 4
- 变更
- 模块
- 新的同步方式
- 失效机制
- 非阻塞 DEL 和 FLUSHALL/FLUSHDB.
- RDB-AOF 混合持久模式
- 新的 MEMORY 语句
- Redis Cluster 现在兼容 NAT/Docker
- 参考
Redis 3.2.0
- GEO API
- BITFIELD command
- script effects replication
集群下只同步被脚本修改的内容,而不是分发脚本到所有节点执行
- Lua scripts debugger
VIDEO: New Redis Lua scripts debugger: a short intro
- slaves and masters are in agreement about what keys are expired during read operations.
- SPOP now accepts an optional count argument
- RDB AUX fields
- Sentinel can now scale monitoring many masters
- 参考