Secondary indexing with Redis
Redis is not exactly a key-value store, since values can be complex data structures.
However it has an external key-value shell: at API level data is addressed by th...
Partitioning: how to split data among multiple Redis instances.
Partitioning is the process of splitting your data into multiple Redis instances, so that every instance will only contain a subset ...
Redis Keyspace Notifications
IMPORTANT Keyspace notifications is a feature available since 2.8.0
Feature overview
Keyspace notifications allows clients to subscribe to Pub/Sub channels in order ...
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...