Specialised Data Structures
Bitmaps, HyperLogLog, geospatial indexes, Bloom and friends, JSON with secondary indexes, and vector search: the structures that turn a hard problem into one command.
These structures trade generality for huge wins on specific problems: counting 100M daily users in 12 MB, estimating unique visitors in 12 KB, finding drivers within 5 km, rejecting non-existent IDs without touching the database, querying JSON by field, and finding semantically similar text for AI features.
Redis 8 ships JSON, the Query Engine, time series and probabilistic structures in the core server. On Valkey or older Redis, the same features come from modules (valkey-json, valkey-bloom, valkey-search, or Redis Stack). Each topic notes where that matters.