Redis Mass Insertion
Sometimes Redis instances need to be loaded with a big amount of preexisting(已经存在的) or user generated data in a short amount of time, so that millions of keys will be created ...
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...