Redis

Redis

Freemium

The in-memory data platform for caching, real-time apps, and AI.

Databases
Key-Value Stores

Published 29 May 2026Last updated 31 October 2026

Scores

Popularity3/5

Established

Widely used as a cache and message broker; often a background dependency in production stacks.

Learning Curve2/5

Easy

Simple key-value command set; minimal configuration required to get started.

Flexibility4/5

Flexible

Multiple data structures; Lua scripting; Redis Modules extend core functionality significantly.

Performance5/5

Best-in-class

In-memory with sub-millisecond read and write; purpose-built for high-throughput caching.

Portability4/5

Portable

Key-value commands are standard; many Redis-compatible alternatives exist.

About Redis

Redis is an in-memory data store first released in 2009 and used as a cache, session store, message broker, and primary database for data that needs sub-millisecond reads and writes. Keeping the working set in RAM is what makes it the default choice for caching, rate limiting, leaderboards, and real-time counters.

Beyond key-value pairs, Redis offers a rich set of data structures: strings, hashes, lists, sets, sorted sets, bitmaps, HyperLogLogs, geospatial indexes, and streams for append-only messaging. Since Redis 8, the capabilities once shipped separately as Redis Stack (search and vector search, JSON documents, time series, and probabilistic structures) are built into the core distribution, so one server covers vector similarity search for AI applications as well as classic caching.

Persistence comes from RDB snapshots and AOF logging, Redis Sentinel adds automatic failover, and Redis Cluster shards data across nodes. Licensing changed in 2024, when Redis moved from BSD to the source-available RSALv2 and SSPLv1 licenses; Redis 8 added AGPLv3 as a third option, restoring an OSI-approved open-source license. The Linux Foundation's Valkey fork continues from the last BSD-licensed release.

Redis runs self-hosted from official packages and Docker images, as Redis Cloud (a managed service with a free tier and hourly-billed Essentials and Pro plans), or as Redis Software for self-managed enterprise deployments. The major cloud providers also sell Redis-compatible managed caches.

Key Features

  • In-memory storage for sub-millisecond latency
  • Rich data structures: strings, hashes, lists, sets, sorted sets
  • Built-in replication with Redis Sentinel for high availability
  • Pub/sub messaging with streams support
  • TTL-based key expiration for automatic cache invalidation
  • Persistence options: RDB snapshots and AOF logging
  • Horizontal scaling with Redis Cluster
  • Search, vector search, JSON, and time series built in since Redis 8

Pros

  • Sub-millisecond reads and writes from memory
  • Sorted sets, streams, and hashes cover leaderboards, queues, and rate limiting without extra services
  • One server handles caching, pub/sub, and vector search
  • Client libraries for virtually every language and framework
  • Robust clustering and replication options
  • Small command set that is quick to learn

Cons

  • Dataset size is bounded by RAM, which gets expensive for large datasets
  • Data loss risk if persistence is not configured
  • MULTI/EXEC transactions do not roll back on errors, so it is not a fit for strict ACID workloads
  • Limited querying compared to relational databases
  • Cluster management can be complex
  • No longer permissively licensed: AGPLv3, RSALv2, or SSPLv1 (Valkey is the BSD fork)

Redis Pricing

Freemium
Open SourceFree
  • Self-hosted Redis 8 with search, JSON, and time series built in
  • AGPLv3, RSALv2, or SSPLv1 license
  • Community support
Redis Cloud FreeFree
  • Up to 30 MB
  • Single database on shared infrastructure
  • Best-effort SLA and community support
Redis Cloud Essentials$5/monthly
  • Billed hourly from $0.007/hour, $5/month minimum
  • 250 MB to 100 GB
  • Single database
  • Up to 99.99% uptime SLA
Redis Cloud Pro$200/monthly
  • Billed hourly with a $200/month minimum
  • Dedicated deployment with multiple databases
  • Active-Active multi-region, auto-tiering, private connectivity
  • Up to 99.999% uptime SLA
Redis SoftwareContact sales
  • Self-managed enterprise
  • Active-Active replication
  • Contact for pricing

Tech Stacks with Redis

GitLab Self-Hosted

Infrastructure

The full GitLab platform, repository, CI/CD, and collaboration, as an Omnibus container on your own server, with bundled PostgreSQL, Redis, and NGINX inside.

Deploy on:

PostHog Self-Hosted

Infrastructure

Self-host PostHog when product data must stay on infrastructure you control. The official Docker Compose deployment runs the PostHog services with PostgreSQL, ClickHouse, Kafka, and Redis on one large server, and it's built for modest volumes: PostHog recommends it below about 300,000 events a month.

Deploy on:
Reverse Proxy:
Self-Hosted PaaS:
Tunnel add-on:

Sentry Self-Hosted

Infrastructure

Self-host Sentry error tracking and performance monitoring on your own server with the official Docker Compose setup. PostgreSQL stores projects, issues, and users, ClickHouse stores event data, Redis handles caching and queues, and Kafka moves events between services. It's the heaviest stack in the family, and it keeps every error and trace on infrastructure you control.

Deploy on:
Reverse Proxy:
Self-Hosted PaaS:
Tunnel add-on:

Tools Related to Redis

Works well with Redis(4)

Redis holds cached query results, sessions, and counters in memory in front of PostgreSQL, which stays the durable source of truth; cache-aside reads check Redis first and fall back to the database.

AWS ElastiCache provides managed Redis on AWS — a common caching and session layer for AWS-hosted backends; Auto Discovery handles cluster node changes transparently.

Azure Cache for Redis is a managed Redis service on Azure — a common caching and session layer for Azure-hosted backends, integrated with Azure Monitor and AAD authentication.

Redis is available as a managed service on Render, tightly coupled with Render web services and workers for caching and queue use cases.

Integrates with Redis(2)

Celery ships a Redis transport and result backend, so a Redis instance already used for caching can also carry a Python app's background tasks.

BullMQ is the standard Node.js job queue built on Redis: queues, delayed jobs, and schedules live in Redis keys, and workers pull jobs from it.

Vendor

Tags

Open SourceSelf-hostableReal-time

Details

Maintained
Yes
DB model
Key-value
Query language
Custom
Hosting
Cloud & Self-hosted
ACID compliant
No
Replication
Yes
GitHub stars
77.1k
Stars updated
2026-10-31