Book description
Discover the multi-model capabilities of Redis Stack as a document store and vector database, with support for time series, stream processing, probabilistic data structures, and more
Key Features
- Model, index, and search data using JSON and vector data types
- Modernize your applications with vector similarity search, documents hybrid search, and more
- Configure a scalable, highly available, and secure server using RedisInsight
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
In modern applications, efficiency in both operational and analytical aspects is paramount, demanding predictable performance across varied workloads. This book introduces you to Redis Stack, an extension of Redis and guides you through its broad data modeling capabilities. With practical examples of real-time queries and searches, you’ll explore Redis Stack’s new approach to providing a rich data modeling experience all within the same database server.
You’ll learn how to model and search your data in the JSON and hash data types and work with features such as vector similarity search, which adds semantic search capabilities to your applications to search for similar texts, images, or audio files. The book also shows you how to use the probabilistic Bloom filters to efficiently resolve recurrent big data problems. As you uncover the strengths of Redis Stack as a data platform, you’ll explore use cases for managing database events and leveraging introduce stream processing features. Finally, you’ll see how Redis Stack seamlessly integrates into microservices architectures, completing the picture.
By the end of this book, you’ll be equipped with best practices for administering and managing the server, ensuring scalability, high availability, data integrity, stored functions, and more.
What you will learn
- Get started with data modeling using JSON and hash documents, vectors, and time series
- Implement microservices patterns and resolve typical use cases
- Use probabilistic data structures to analyze datasets and streams
- Integrate Redis Stack into your Java, Python, C#, Golang, and Node.js projects
- Develop powerful data flows using triggers and stream processing features
- Manage your database server for scalability, high availability, and security
- Visualize and manage your data with RedisInsight
Who this book is for
This book is for database administrators, database developers, software developers, and software architects who want to discover the powerful real-time, multi-model capabilities of the Redis Stack database. A basic understanding of Redis and databases in general, coupled with software development skills in at least one of Java, Python, C#, Golang, or JavaScript languages will help you understand the concepts covered in this book.
Table of contents
- Redis Stack for Application Modernization
- Contributors
- About the authors
- About the reviewer
- Preface
- Part 1: Introduction to Redis Stack
- Chapter 1: Introducing Redis Stack
- Chapter 2: Developing Modern Use Cases with Redis Stack
- Chapter 3: Getting Started with Redis Stack
- Chapter 4: Setting Up Client Libraries
- Part 2: Data Modeling
-
Chapter 5: Redis Stack as a Document Store
- Technical requirements
-
Storing and querying documents in Redis Stack
- The dialect and other configuration parameters
- The query language
- Simple terms
- Using field modifiers
- Intersection of results (AND)
- Union of results (OR)
- Exact query matches
- Stop words
- Negation and purely negative queries
- Prefix, infix, and suffix queries
- Wildcard matching
- Fuzzy matching
- Numeric filters
- Tag filters
- Geospatial filters
- Aggregation and transformation
- Cursor-based requests
- Faceted search using aggregations
- Updating an index in production
- Temporary indexes
- Additional commands
- Working with Hashes
- Working with JSON
- Redis Stack as a recommendation engine
- Redis Stack as a session store
- Summary
- Chapter 6: Redis Stack as a Vector Database
- Chapter 7: Redis Stack as a Time Series Database
- Chapter 8: Understanding Probabilistic Data Structures
- Part 3: From Development to Production
- Chapter 9: The Programmability of Redis Stack
- Chapter 10: RedisInsight – the Data Management GUI
- Chapter 11: Using Redis Stack as a Primary Database
- Chapter 12: Managing Development and Production Environments
- Index
- Other Books You May Enjoy
Product information
- Title: Redis Stack for Application Modernization
- Author(s):
- Release date: December 2023
- Publisher(s): Packt Publishing
- ISBN: 9781837638185
You might also like
book
Redis in Action
Redis in Action introduces Redis and walks you through examples that demonstrate how to use it …
book
Microservices: Up and Running
Microservices architectures offer faster change speeds, better scalability, and cleaner, evolvable system designs. But implementing your …
book
Kubernetes in Action
Kubernetes in Action is a comprehensive guide to effectively developing and running applications in a Kubernetes …
book
Building Event-Driven Microservices
Organizations today often struggle to balance business requirements with ever-increasing volumes of data. Additionally, the demand …