Special encoding of small aggregate data types
Since Redis 2.2 many data types are optimized to use less space up to a certain size.
Hashes, Lists, Sets composed of just integers, and Sorted Sets...
支持情况
Available since 2.6.0.
Time complexity(复杂度): Depends on the script that is executed.
Introduction to EVAL
EVAL and EVALSHA are used to evaluate scripts using the Lua interpreter(解释器) built...
事务的实现
一个事务从开始到结束通常会经历以下三个阶段:
事务开始。
命令入队。
事务执行。
本节接下来的内容将对这三个阶段进行介绍, 说明一个事务从开始到结束的整个过程。
事务开始
MULTI 命令的执行标志着事务的开始:
redis> MULTI
OK
MULTI 命令可以将执行该命令的客户端从非事务状...