The preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine
open coreAGPL-3.0-only OR SSPL-1.0 OR Redis Source Available License 2.0self-hostablefree
Redis is an in-memory data structure server used as a cache, session store, message broker, NoSQL store and vector database. Redis Open Source (renamed from Redis Community Edition with 8.0) supports strings, lists, sets, hashes, sorted sets, streams, JSON, time series, probabilistic types and vector sets, plus Redis Search for full-text, geospatial and vector queries. Since Redis 8 it is tri-licensed: RSALv2, SSPLv1 or AGPLv3, at the user's choice. Redis Ltd. also sells Redis Software (self-managed) and Redis Cloud (managed).
Ways to install
On your own server
Package managers
Problems it solves
- my database is too slow for hot reads and I need a cache in front of it
- store user sessions somewhere every web server can reach quickly
- rate limit API requests across many app servers
- a fast job queue or pub/sub between services
- keep a real-time leaderboard sorted by score
- cache LLM responses and store embeddings for semantic search
- full-text and vector search over JSON documents held in memory
- count unique visitors cheaply without storing every ID
- expire keys automatically after a set time
- an in-memory key-value store with replication and persistence to disk
Features
- strings, lists, sets, hashes, sorted sets, streams
- JSON, time series and probabilistic types
- vector sets
- Redis Search query engine (full-text, geospatial, vector)
- key and hash-field expiration
- transactions and Lua scripting
- modules API
- replication and persistence
Ways to run it
Redis Cloud
Free: $0 (up to 30 MB, one database); Essentials: from $5/month (250 MB to 100 GB); Pro: from $0.014/hour with a $200/month minimum
Only in this edition
- managed high availability: up to 99.99% on Essentials and 99.999% on Pro
- SAML SSO, RBAC and encryption in transit and at rest
- Redis Flex (RAM plus SSD)
- Active-Active multi-region, private connectivity and Redis Data Integration on Pro
Redis Open Source
free
Not included
- Active-Active geo-replication
- Redis Flex (extending memory with SSD)
- automated cluster management (scaling, resharding, rebalancing)
- built-in high availability and disaster recovery management
- LDAP and centrally managed RBAC
- Redis Data Integration and enterprise support
You arrange
- servers
- replication, failover and clustering, set up yourself
- persistence settings and backups
- monitoring and upgrades
Redis Software
annual plans through sales; price not published
Only in this edition
- Active-Active geo-replication, Redis Flex and Auto Tiering
- automated cluster management and built-in HA and DR
- LDAP, control-plane RBAC and HashiCorp Vault support
- Redis Data Integration and enterprise support
You arrange
- a licence key per cluster from Redis sales (a new cluster runs a 30-day, 4-shard trial without one)
- at least 3 nodes for production, each with 2 or more cores (8 recommended) and 8 GB RAM or more (32 GB recommended)
- persistent storage of about 3x RAM and ephemeral storage of 2x RAM per node
- static IP addresses and a supported OS (RHEL 8 or 9, Ubuntu 20.04 or 22.04, Amazon Linux 2)
- local SSDs for Flex or Auto Tiering
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has single sign-on | plan not known |
Forks
- Valkey An open source (BSD) high-performance key/value datastore. Its own project since 2024.
Alternatives
The same job
These do what Redis does.
- Upstash Redis Serverless Redis in the cloud with low latency and durable storage
- Valkey An open source (BSD) high-performance key/value datastore
- Dragonfly The world's most efficient in-memory data store
- Memcached A high performance multithreaded event-based key/value cache store intended to be used in a distributed system.
- Solid Cache A database-backed ActiveSupport::Cache::Store
- Solid Cable A database-backed Action Cable adapter
