Using Redis as an LRU cache
When Redis is used as a cache, often it is handy to let it automatically evict(淘汰) old data as you add new one.
This behavior is very well known in the community of de...
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...