Redis
activeby Redis Ltd. · since 2009 · also known as Redis Open Source, Redis OSS, Redis Stack
The in-memory data structure server that became the default cache, now with search, JSON and vectors built in.
Overview
Redis is a single-threaded-core, in-memory server for strings, hashes, lists, sets, sorted sets, streams and more, accessed over the simple RESP protocol. Since Redis 8 the former Stack modules (Query Engine with vector search, JSON, time series, probabilistic structures) ship in the core, so one binary covers caching, session storage, rate limiting, queues and semantic caching for LLM apps. Licensing is the big caveat: 7.4 moved to RSALv2/SSPLv1, and Redis 8 added AGPLv3 as a third option, which is why many clouds and distros now standardise on the BSD-licensed Valkey fork instead.
Strengths & trade-offs
Strengths
- +Sub-millisecond reads and writes from RAM with rich data structures (sorted sets, streams, HyperLogLog)
- +Redis 8 bundles vector search, JSON and time series in the core server
- +Every language has a mature client and every cloud has a compatible managed service
- +Streams with consumer groups double as a lightweight durable queue
- +Huge operational knowledge base: patterns for rate limiting, locks, leaderboards
Trade-offs
- −Dataset must fit in memory; RAM is the dominant cost at scale
- −Mostly single-threaded command execution caps per-shard throughput
- −Redis 8 licenses (AGPLv3/RSAL/SSPL) are a blocker for some legal teams
- −MULTI/EXEC is not a rollback-capable ACID transaction
- −Async replication can lose acknowledged writes on failover
Great for
- +Application and database query caching
- +Session storage and user tokens
- +Rate limiting and distributed locks
- +Leaderboards and counters
- +Semantic caching and vector search for LLM apps
- +Lightweight job queues with Streams
Think twice for
- −Primary system of record needing durable multi-key transactions
- −Datasets far larger than available RAM
- −Complex ad-hoc analytical queries
Capabilities
Native or official first-party support · 13 of 25 tracked
Scale & consistency
- Comfortable data size
- Medium · ≤ 10 TB
- Horizontal scaling
- Native
- Multi-region
- Active active
- Transactions
- Limited ACID
- Consistency
- Eventual
- Schema
- Schemaless
- Architecture
- In memory, Single node, Primary replica, Distributed, Client server
- Query languages
- Redis commands (RESP), Lua, Redis Query Engine (FT.*)
Redis Cluster shards across 16,384 hash slots; dataset must fit in RAM. Active-Active (CRDT) geo-replication is a Redis Cloud/Software feature, not open source.
Deployment
available on · AWS · Google Cloud · Azure · DigitalOcean · Heroku · Render · Railway · Fly.io · Akamai
Ecosystem
Alternatives to Redis
The Linux Foundation's BSD-licensed fork of Redis, now the default engine on AWS and Google Cloud.
redis vs valkey →A multi-threaded, shared-nothing in-memory store that speaks Redis and Memcached on one big box.
redis vs dragonfly →Microsoft Research's .NET cache-store that speaks RESP and scales across cores and storage tiers.
redis vs garnet →The original multi-threaded, dead-simple distributed memory cache for key-value blobs.
redis vs memcached →AWS's managed Valkey, Redis OSS and Memcached service, provisioned or serverless.
redis vs amazon-elasticache →Snap's multi-threaded Redis fork with active-active replication and FLASH storage, now dormant.
redis vs keydb →Redis FAQ
What is Redis?
Redis is a key-value database by Redis Ltd., first released in 2009. Redis is a single-threaded-core, in-memory server for strings, hashes, lists, sets, sorted sets, streams and more, accessed over the simple RESP protocol. Since Redis 8 the former Stack modules (Query Engine with vector search, JSON, time series, probabilistic structures) ship in the core, so one binary covers caching, session storage, rate limiting, queues and semantic caching for LLM apps. Licensing is the big caveat: 7.4 moved to RSALv2/SSPLv1, and Redis 8 added AGPLv3 as a third option, which is why many clouds and distros now standardise on the BSD-licensed Valkey fork instead.
Is Redis open source?
Yes. Redis is open source. License: Tri-license: AGPLv3, RSALv2 or SSPLv1 (Redis 8+).
Does Redis support ACID transactions?
Partly. Redis offers limited ACID guarantees (for example, single-record or single-partition transactions), with eventual consistency.
Does Redis scale horizontally?
Redis scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at medium scale (≤ 10 TB). It supports active-active multi-region writes.
How can I run Redis?
You can self-host it and use the vendor's managed cloud. Managed offerings include Redis Cloud, Azure Managed Redis and Amazon ElastiCache (Redis OSS engine). It is available on AWS, Google Cloud, Azure, DigitalOcean and Heroku.
What is Redis best for?
Redis is a strong fit for application and database query caching; session storage and user tokens; and rate limiting and distributed locks. Think twice for primary system of record needing durable multi-key transactions.
What are the best alternatives to Redis?
Common alternatives to Redis include Valkey, Dragonfly, Microsoft Garnet, Memcached and Amazon ElastiCache. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is Redis?
Redis ranks #2 of 844 databases on the WhichDB Score (84.3/100), and #1 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.


