Redis
Redis is an in-memory data-structure store that provides network-accessible data storage and operations and can serve as a database, cache, or message broker.
Amazon Web Services in Action, Third Edition: An in-depth guide to AWS
Redis is an in-memory data structure server that provides persistent and non-persistent key-value data storage and access.
- How it is used
- Uses Redis as a fast caching and working-data layer for web applications alongside a primary relational database.
- How deep it goes
- Works through deployment choices, a minimal CloudFormation cluster, access controls, and application use rather than Redis engine internals.
- Examples
- Shows a game leaderboard, a single-node CloudFormation cluster, and a Discourse forum using Redis with PostgreSQL.
- What you can do after
- Operate/configure it through ElastiCache deployment and access choices, then monitor its role in an application.
Read how Amazon Web Services in Action, Third Edition: An in-depth guide to AWS explains Redis →
Generative AI in Action
Redis is an open-source in-memory data store that supports key-value storage and multiple data structures for database, caching, and messaging workloads.
- How it is used
- Uses Redis as a local vector database for retrieval-augmented chat over proprietary data.
- How deep it goes
- Demonstrates local deployment, index schema, connection, and retrieval integration, while omitting some chat helper functions and Docker installation details.
- Examples
- Indexes blog post content and metadata, then retrieves matching chunks to answer questions in a chat application.
- What you can do after
- Apply it via Redis Stack and Python to configure a vector index and retrieve stored content for a RAG prompt.
Crack Any Codebase with AI
Redis is an in-memory data store commonly used for caching, rate limiting, queues, and other low-latency data operations.
- How it is used
- Frames Redis as a low-latency store for caching, rate limiting, queues, and other product operations.
- How deep it goes
- Identifies a Redis list, worker container, retry limit, and dead-letter list, but does not explain Redis internals or configuration.
- Examples
- Uses checkout-triggered receipt email, a Redis list, one worker container, and a five-failure dead-letter path.
- What you can do after
- Evaluate Redis's architectural role by tracing its data structure, worker path, retry behavior, and proving files.
The Quick Python Book, Fourth Edition
Redis is an in-memory data-structure server that provides network-accessible key-value storage and related operations.
- How it is used
- Supports fast network-accessible storage for caching, message brokering, counters, lists, and quick lookups.
- How deep it goes
- Demonstrates Python connections, key-value operations, counters, lists, indexing, and expiration without exploring Redis internals.
- Examples
- Uses Python snippets for keys, strings, counters, lists, indexed reads, connection settings, and expiring values.
- What you can do after
- Operate Redis through redis-py by connecting to a server and performing key-value, counter, list, and expiration operations.
Read how The Quick Python Book, Fourth Edition explains Redis →
Road to Kubernetes
Redis is an open-source in-memory data structure store that can provide database, cache, and messaging functionality.
- How it is used
- Deploys Redis beside Python applications in Docker Compose and as a stateful Kubernetes workload.
- How deep it goes
- Demonstrates service definitions, client tooling, persistence, namespaces, StatefulSets, volume claims, and Services without exploring Redis-specific technical differences.
- Examples
- Uses redis-tools, a Compose redis service, named volumes, an rk8s-redis Namespace, and Redis Kubernetes manifests.
- What you can do after
- Operate/configure Redis with Docker Compose or Kubernetes, preserving data and connecting application services through declared endpoints.
Spring Microservices in Action
Redis is an in-memory data structure store used as a database, cache, and message broker.
- How it is used
- Caches organization data for licensing lookups and clears stale entries after organization updates.
- How deep it goes
- Implements dependency setup, a Redis connection, RedisTemplate-backed repositories, and organization-data cache operations.
- Examples
- Uses a licensing service to cache organization records, serve cache hits, and delete entries after update messages.
- What you can do after
- Apply Redis through Spring Data Redis to read, save, update, and delete organization records.
Learn Docker in a Month of Lunches, Second Edition
Redis is an open-source in-memory data structure store that can function as a database, cache, and message broker.
- How it is used
- Decouples application components with asynchronous messaging to improve performance, scalability, and feature delivery without direct connections.
- How deep it goes
- Demonstrates container setup, publishing, subscribing, and protocol rationale, but does not detail Redis database or cache operations.
- Examples
- Uses Docker containers, Redis CLI commands, channel21, and repeated ping messages to demonstrate publishing and subscription.
- What you can do after
- Operate/configure Redis in Docker, publish messages with the Redis CLI, and verify delivery through a subscriber.
Read how Learn Docker in a Month of Lunches, Second Edition explains Redis →
Building Distributed Applications that Work
Redis is an in-memory data structure store commonly used as a database, cache, and message broker.
- How it is used
- Supports caching and locking in applications hosted by Aspire.
- How deep it goes
- Describes adding dependencies to an Aspire host, without detailing Redis configuration or behavior.
- Examples
- Uses an Aspire host configured to run a Redis component for caching and locking.
- What you can do after
- Configure an Aspire host to run a Redis component by adding the necessary dependencies.
Read how Building Distributed Applications that Work explains Redis →
Also covered in
- AI GovernanceIn early access (MEAP)
- Building Web APIs with ASP.NET Core
- Build AI-Enhanced Web Apps
- Platform Engineering on Kubernetes
- Functional Design and Architecture: Examples in Haskell
- Fast by DefaultIn early access (MEAP)
What to know first
- cachingCaching is the temporary storage of data or computed results for reuse, reducing the work or delay of retrieving or computing them again.
- eventual consistencyEventual consistency is a distributed-data consistency model in which replicas may temporarily differ but converge to the same state if updates cease and have time to propagate.
- key-value storeA key-value store is a data-storage system that associates keys with values and supports storing, retrieving, or updating values by key.
- language modelA language model is a computational model that represents patterns in linguistic sequences to assign probabilities, predict, generate, or evaluate language.
Related concepts
- key-value storekind of · A key-value store is a data-storage system that associates keys with values and supports storing, retrieving, or updating values by key.
- distributed cachingused by · Distributed caching is a technique for storing cached data across networked nodes so it can be accessed by multiple processes or application instances.
- Dapr componentused by · A Dapr component is a configurable, pluggable implementation that backs a Dapr API capability with an external service or infrastructure mechanism.
- subscribeuses · Subscribe is the operation of registering a consumer with a publisher, observable, or event source to receive its values or notifications.
Questions about Redis
What is Redis?
Redis is an in-memory data-structure store that provides network-accessible data storage and operations and can serve as a database, cache, or message broker.
Which Manning books explain Redis?
Amazon Web Services in Action, Third Edition: An in-depth guide to AWS, Generative AI in Action, Crack Any Codebase with AI, The Quick Python Book, Fourth Edition, Road to Kubernetes, Spring Microservices in Action, Learn Docker in a Month of Lunches, Second Edition and Building Distributed Applications that Work.
What should I know before learning Redis?
Manning books that teach Redis usually introduce caching, eventual consistency, key-value store and language model first.
What is Redis a kind of?
Redis is a kind of key-value store. A key-value store is a data-storage system that associates keys with values and supports storing, retrieving, or updating values by key.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.







