Data Structures
Data Structures
Every type, what it's for, and how it's stored.
Every type, what it's for, and how it's stored.
Sections
- 3.1StringsValues, counters, SET options, bitmaps, and bitfields
- 3.2HashesObjects as field-value maps, per-field TTLs, and memory savings
- 3.3Lists & SetsOrdered sequences, blocking pops, membership, and set algebra
- 3.4Sorted SetsMembers ranked by score: leaderboards, priority queues, and time indexes
- 3.5Specialized TypesHyperLogLog, geo, JSON, search, time series, Bloom filters, and vector sets
- 3.6Encodings & Memory Layoutlistpack, intset, quicklist, skiplist, and what a key really costs
- 3.7Self-testSelf-test