Redis Reference

This content was generated with the assistance of AI and should be verified against the official Redis documentation before being relied on in production.

This section’s bibliography lists the reference material consulted while preparing these pages.

Welcome to the Redis reference. Redis is an in-memory data structure server: it keeps its primary copy of the keyspace in RAM for sub-millisecond latency, persists it to disk through RDB snapshots and/or an AOF write log, and layers a growing set of multi-model capabilities — JSON documents, a full-text and vector Query Engine, streams, probabilistic and time-series structures — on top of the classic string/list/set/hash/ sorted-set primitives. Examples throughout this section target Redis Open Source 8.10 (specifically 8.10.2) as the baseline, with client examples against Jedis 8 and Lettuce 7.7; the Spring Boot pages layer in Spring Boot 4.1, Spring Data Redis 4.1, Spring AI 2.0, Redis OM Spring 1.0, Spring Session 4.1 and Testcontainers 2.0, and Redis Insight 3.8 is used for interactive browsing throughout. All of these were re-checked as current, stable lines at the time of writing: Redis Open Source’s own release notes confirm 8.10.2 as its latest patch, and the Spring ecosystem’s June 2026 train shipped Spring Boot 4.1 alongside matching 4.1.x releases of Spring Data Redis, Spring Session and (per its own changelog) Testcontainers 2.0.5, with Spring AI reaching its 2.0 general availability the same week — the one point worth flagging is Redis OM Spring, which has since moved on to an actively maintained 2.0.x line upstream; this section keeps its examples on the 1.0.x baseline the rest of these pages were written and verified against, so annotation names and package layout stay consistent from page to page, and readers adopting Redis OM Spring fresh should check its current reference documentation for any 2.0.x API differences.

Redis release timeline

Redis’s licence has moved twice in the versions this section covers: the 7.4 line left the permissive BSD-3-Clause license behind for the source-available RSALv2/SSPLv1 pair, and the 8.0 line added the OSI-approved AGPLv3 as a third licensing option — marketed as "Redis Open Source" — with the Linux Foundation taking on governance of the project alongside Redis Ltd. The Linux Foundation separately forked the last BSD-licensed release (7.2.4) as Valkey, covered on this section’s Redis Software, Cloud, Kubernetes & Valkey page.

Release Date Headline features Licence / packaging

7.2

Aug 2023

Sharded pub/sub, OBJECT FREQ improvements, and the last release before Redis Stack modules (JSON, Search, TimeSeries, Bloom) began merging into core.

BSD-3-Clause — the last fully permissive release; later forked by the Linux Foundation as Valkey 7.2.4.

7.4

Mar 2024

Hash field TTLs (HEXPIRE/HPERSIST and friends), client-side caching improvements.

Relicensed away from BSD to a dual RSALv2/SSPLv1 source-available license — no longer OSI-approved open source; this is the release that triggered the Valkey fork.

8.0

May 2025

Redis Stack’s JSON, Query Engine (Search), Time Series and probabilistic (Bloom/Cuckoo/HyperLogLog/Top-K) capabilities merged into Redis proper for the first time, plus a claimed I/O-threading performance jump.

Added AGPLv3 as a third licensing option ("Redis Open Source"), restoring OSI-approved open-source status under joint Redis Ltd./Linux Foundation stewardship.

8.2

2025

Database-scoped management roles and data-path command auditing groundwork on the Enterprise/Software side, plus continued Query Engine and vector-search refinement on the Open Source side.

AGPLv3/RSALv2/SSPLv1 tri-license continues.

8.4

Jul 2026

New DELEX/DIGEST commands, atomic compare-and-set/compare-and-delete SET extensions, MSETEX, and an XREADGROUP …​ CLAIM min-idle-time enhancement for consuming idle pending and new stream entries together.

Tri-license continues.

8.6

2026

Disk-based search indexing (preview), an Active-Active database upgrade API, and a JSON string-reuse mechanism for Active-Active deployments.

Tri-license continues.

8.8

2026

Incremental Query Engine, vector-search and operational hardening on the 8.x line ahead of 8.10.

Tri-license continues.

8.10

Sep 2026

The current baseline for this section (patch 8.10.2); primarily a security and stability release — see Getting Started for the full round trip against it.

Tri-license continues.

timeline title Redis release & licence timeline 2023-08 : 7.2 (BSD-3-Clause) 2024-03 : 7.4 (RSALv2 / SSPLv1) 2025-05 : 8.0 (+ AGPLv3, Redis Open Source, Linux Foundation) 2025 : 8.2 2026-07 : 8.4 2026 : 8.6 2026 : 8.8 2026-09 : 8.10 (8.10.2, current baseline)

How to read this section

Start with Getting Started and Architecture, Keyspace & Eviction to get Redis running and understand how it actually executes commands, then move through the core data types (strings/bitmaps/bitfields, lists/sets/sorted sets/geospatial and hashes). From there, the multi-model pages build outward: streams (Streams, Pub/Sub & Keyspace Notifications), JSON and the Query Engine (JSON, Query Engine: Indexing & Data Modeling and Query Engine: Search & Aggregations), then vector search built on top of the Query Engine, and probabilistic & time-series structures. Next, pipelining, transactions & scripting covers programmability, followed by the operations cluster — persistence, replication/Sentinel/cluster, security and administration/monitoring/troubleshooting — then clients and applied material (Clients & Client-Side Caching, Use Cases & Patterns and Redis Software, Redis Cloud, Kubernetes & Valkey), the three Spring Boot pages, and finally the three cloud-deployment pages (Deploying Redis on AWS, Deploying Redis on Azure and Deploying Redis on Google Cloud).

This section also connects outward to other parts of the site. On the Spring Boot side, see Spring Boot Caching and Near-Far Caches for the caching abstractions the Spring Boot: Redis as a Cache page builds on, and Scheduling & ShedLock for using Redis as a distributed lock backend for scheduled jobs; Messaging covers Redis Pub/Sub and Streams alongside other Spring Boot messaging choices, and Quarkus: NoSQL & Other Stores covers the equivalent Quarkus client integration. For the vector-search material specifically, see the sibling Qdrant Reference for a purpose-built vector database to compare against, and Neo4j Reference and Elasticsearch Reference for graph- and search-engine-native alternatives; Prometheus Reference is the natural companion for scraping the metrics this section’s administration/monitoring page exposes.

What’s covered

Foundations

  • Getting Started — what Redis is (and is not), editions and licensing, installation, redis-cli, and a first end-to-end round trip.

  • Architecture, Keyspace & Eviction — the single-threaded execution model, I/O threading, keyspace layout, and expiration/eviction policies.

Core data types

  • Strings, Bitmaps & Bitfields — the string type and its counter, bitmap and bitfield operations.

  • Hashes — field/value maps, field-level TTLs, and HGETEX/HSETEX/ HGETDEL.

  • Lists, Sets, Sorted Sets, Arrays & Geospatial — ordered and unordered collection types, ranking with sorted sets, the index-addressed Array type, and geospatial indexing.

  • JSON — the native JSON data type, JSONPath access, and atomic in-place updates.

Multi-model capabilities

Programmability

Operations

Clients, use cases & editions

Spring Boot

Cloud deployment

Bibliography

Official Redis documentation:

Spring documentation:

Cloud-provider documentation:

The book above is a consulted bibliographic reference only. It is not the primary or main reference for this section, so where it and redis.io, docs.spring.io, or a cloud provider’s own documentation disagree, the official documentation is authoritative and the difference is noted.