What is
Redis
?
Redis is an in-memory data store that serves as a cache, NoSQL database, message broker and search engine. It offers typed data structures such as strings, hashes, lists, sets, sorted sets and streams, each with atomic operations.
At a glance
Attribute | Value |
|---|---|
Primary use case | In-memory caching, data structure store, messaging and vector search |
Deployment type | Self-managed (Redis Open Source, Redis Software on-prem/hybrid, Redis for Kubernetes) or fully managed Redis Cloud |
Pricing model | Redis Cloud: Free ($0, 30 MB); Essentials from $0.007/hour (total $5/month); Pro from $0.014/hour, minimum $200/month, first $200 free, on demand or annual |
API compatibility | Text-based Redis protocol and command set; same APIs across all editions; modules API |
Supported integrations | LangChain, LangGraph, mem0, Amazon Bedrock, Spring Data, Redis MCP, Prometheus & Grafana, Datadog, Dynatrace, New Relic |
Cloud provider | AWS, Azure, GCP (Redis Cloud) |
Key metrics | Vendor-reported: Flex for TBs of data and millions of ops/sec (Redis Cloud Pro) |
AEP branch | Tooling |
AEP category | Resources |
AEP subcategory | Data |
Profile
Redis keeps its dataset in memory and serves it over a simple text-based protocol. Applications connect through client libraries and run atomic commands on typed values, such as incrementing a hash field or intersecting sets. Data can be persisted by periodic snapshots to disk or by a disk-based log of every command, or persistence can be disabled for pure caching. Keys can carry a time-to-live and be evicted under LRU rules. Lua scripting, transactions and a modules API extend its behaviour.
Focus
Developers building real-time applications use Redis for caching, session stores, job queues and messaging, leaderboards and rate limiting. They also use it for real-time analytics such as fraud detection and as a vector store for GenAI memory, semantic caching and RAG.
Background
Redis Ltd. offers Redis Open Source alongside Redis Software and Redis Cloud. Redis Community Edition was renamed Redis Open Source with the v8.0 release. Users choose between the Redis Source Available License 2.0 (RSALv2) and the Server Side Public License v1 (SSPLv1).
Features
Native data structures
Provides strings, hashes, lists, sets, sorted sets, JSON, bitmaps, hyperloglogs, geospatial indexes, streams and vector sets (beta), each manipulated with atomic commands.
Redis Search and vector search
Indexes hash and JSON documents and queries them with vector, full-text and geospatial search, ranking and aggregations. Redis can act as a document database, secondary index or vector database.
Streams and pub/sub
Streams, pub/sub, list-based queues and sorted-set priority queues handle event-driven messaging and communication between services.
Replication, failover and clustering
Asynchronous replication with partial resynchronization after a net split, high availability with automatic failover through Redis Sentinel, and automatic partitioning through Redis Cluster.
Active-Active and tiering
Redis Software and Redis Cloud Pro add Active-Active multi-region geo-distribution. Redis Software offers auto-tiering, and Redis Flex places data on RAM and flash, with an adjustable RAM:Flash ratio on Redis Cloud Pro.
Redis Data Integration
Captures changes from source databases and warehouses and syncs them into Redis in near real time, with the data optimized for fast reads.
Pros and cons
Pros
Very low read and write latency, often sub-millisecond according to Redis, suited to real-time workloads.
The same APIs and data structures work across Redis Open Source, Redis Software, Redis for Kubernetes and Redis Cloud.
Client libraries exist for Python, Node.js, Java, Go, .NET, Rust, PHP, Ruby, C and other languages.
Redis Cloud is sold through partner marketplaces, and on AWS it can be bought with existing cloud commits.
One system can cover several workloads, so teams run fewer separate data stores.
Cons
Data is held in memory, so RAM is the main driver of capacity and cost.
There is no official support for Windows builds; Linux is the recommended deployment platform.
Self-managing Redis Open Source or Redis Software means the team operates replication, failover, scaling and upgrades.
Active-Active multi-region and private connectivity in Redis Cloud need the Pro plan, which has a $200/month minimum.
FAQs
What is Redis?
Redis is an in-memory database used for caching, session storage, messaging, NoSQL data storage and vector or full-text search. Applications work with it through typed data structures and atomic commands.
How much does Redis cost and how is it licensed?
Redis Open Source is used under either RSALv2 or SSPLv1. On Redis Cloud, the Free plan costs $0 for 30 MB, Essentials starts at $0.007/hour ($5/month total), and Pro starts at $0.014/hour with a $200 monthly minimum and the first $200 free.
Can Redis be self-hosted?
Yes. Redis Open Source and Redis Software can run on your own infrastructure, and Redis for Kubernetes deploys through a Kubernetes operator. Redis Cloud is the fully managed alternative and runs on AWS, Azure and Google Cloud.
Which programming languages can connect to Redis?
Documented clients cover Python, JavaScript/Node.js, Java (Jedis and Lettuce), Go, C#/.NET, PHP, C, Ruby and Rust. Community-supported libraries cover additional languages.
Does Redis support AI and vector workloads?
Yes. Redis Search and vector sets provide vector similarity search, and Redis can serve as LLM short-term and long-term memory, a semantic cache and a RAG store, with integrations such as LangChain and Amazon Bedrock.
Which operating systems does Redis run on?
Redis runs on most POSIX systems, including Linux, BSD and macOS, and Linux is the recommended choice for deployment. Windows builds have no official support.
