redis /redis
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
★ 77,336⑂ 25,013👁 2,494⑃ 8,584● 7,144▤ 164◈ 272
77,336
stars
+22+190+734
25,013
forks
2,494
watchers
8,584
prs
7,144
issues
164
releases
272
discussions
README
This document serves as both a quick start guide to Redis and a detailed resource for building it from source. - New to Redis? Start with What is Redis and Getting Started - Ready to build from source? Jump to Build Redis from Source - Want to contribute? See the Code contributions section and CONTRIBUTING.md - Looking for detailed documentation? Navigate to redis.io/docs Table of contents - What is Redis? - Key use cases - Why choose Redis? - What is Redis Open Source? - Getting started - Redis starter projects - Using Redis with client libraries - Using Redis with redis-cli - Using Redis with Redis Insight - Redis data types, processing engines, and capabilities - Cloud hosted Redis - Community - Build Redis from source - Install dependencies and build - Building Redis - flags and general notes - Fixing build problems with dependencies or cached build options - Fixing problems building 32 bit binaries - Allocator - Monotonic clock - Verbose build - Running Redis with TLS - Code contributions - Redis Trademarks What is Redis? For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine. Key use cases Redis excels in various applications, including: - Caching: Supports multiple eviction policies, key expiration, and hash-field expiration. - Distributed Session Store: Offers flexible session data modeling (string, JSON, hash). - Data Structure Server: Provides low-level data structures (strings, lists, sets, hashes, sorted sets, JSON, etc.) with high-level semantics (counters, queues, leaderboards, rate limiters) and supports transactions & scripting. - NoSQL Data Store: Key-value, document, and time series data storage. - Search and Query Engine: Indexing for hash/JSON documents, supporting vector search, full-text search, geospatial queries, ranking, and aggregations via Redis Search. - Event Store & Message Broker: Implements queues (lists), priority queues (sorted sets), event deduplication (sets), streams, and pub/sub with probabilistic stream processing capabilities. - Vector Store for GenAI: Integrates with AI applications (e.g. LangGraph, mem0) for short-term memory, long-term memory, LLM response caching (semantic caching), and retrieval augmented generation (RAG). - Real-Time Analytics: Powers personalization, recommendations, fraud detection, and risk assessment. Why choose Redis? Redis is a popular choice for developers worldwide due to its combination of speed, flexibility, and rich feature set. Here's why people choose Redis for: - Performance: Because Redis keeps data primarily in memory and uses efficient data structures, it achieves extremely low latency (often sub-millisecond) for both read and write operations. This makes it ideal for applications demanding real-time responsiveness. - Flexibility: Redis isn't just a key-value store, it provides native support
Top issues
#11663使用make构建出现了报错83 comments · 2022-12-29#5693Redis 5.0.0 cluster master node crash log71 comments · 2018-12-13#2552Unnecessary gettimeoftheday / ustime calls or mstime caching71 comments · 2015-04-29#2702Better SCAN support for cluster mode enabled56 comments · 2015-07-29#1417Test replication partial resync fail53 comments · 2013-11-30#10313Redis Crashes when updating wordpress plugins manually46 comments · 2022-02-19#11704[BUG]45 comments · 2023-01-11#6048How to store an empty set?42 comments · 2019-04-26
Discussions
#15905Redis 8.10.2 has a dependency on Lua 5.1.5 which is an out of support library1 comments · 2026-10-05#15679DockerHub "8-bookworm" not updated - oversight?2 comments · 2026-08-19#15674Yesterday's releases are missing in DockerHub1 comments · 2026-08-18#15627Security issues concerning logging1 comments · 2026-08-12#15443Command to list bits in bitmap?5 comments · 2026-07-09#15426Feedback wanted: Heym native Redis node0 comments · 2026-07-05#15419Do Fixed-Length Values Reduce Memory Overhead in Redis?2 comments · 2026-07-03#15355Wingfoil — a Rust stream-processing graph framework with a Redis adapter0 comments · 2026-06-21
Latest release
8.10.3 8.10.3 2026-10-26Update urgency: SECURITY: There is a security fix in the release. Security fixes - Heap buffer overflow when propagating a PUBLISH/SPUBLISH message larger than 4GB over the cluster bus in cluster mode