Redis for Dummies

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

In this Second Edition of Redis for Dummies, you’ll: • See real-world examples of Redis-powered applications • Learn about coding with Redis clients like Python, Java, and NodeJS • Explore Redis clustering and high availability • Discover Redis data structures and modules like RediSearch, RedisJSON, RedisGraph, and RedisTimeSeries • Visualize, interact and manage your databases using RedisInsight

Author(s): Steve Suehring
Edition: 2
Year: 2021

Language: English

Title Page
Copyright Page
Table of Contents
Introduction
About This Book
Foolish Assumptions
Icons Used in This Book
Where to Go from Here
Chapter 1 What Is Redis?
Introducing NoSQL
Defining NoSQL
Identifying types of NoSQL databases
Knowing when to use NoSQL versus a relational database
Deciding when to use a NoSQL database
Seeing Where Redis Fits
Data storage
Data structure storage
Working with Multi-Model Application Requirements
The single-model problem
The modules solution
Chapter 2 What Is Redis Used For?
Identifying How Redis Can Help You
Real-time analytics
Fraud detection
Gaming and leaderboards
Personalization with session management
Recommendation management
Social apps
Search
Redis in the Real World
Caching
Large data sets
Full-text fuzzy search
Geospatial and time-series data
Messaging/queuing
Chapter 3 Getting Started with Redis
Understanding the Components of Redis
The server and the command-line interface
The client and drivers
Databases, memory, and persistence
Deploying Redis
Using Redis Enterprise Cloud
Compiling Redis from source
Using Redis in Docker
Homebrewing for macOS
Taking the First Steps with Redis
Installing the Redis command-line interface
Making your first connection
Working with Redis Clients
Python
Java
Node.js
Other languages
Chapter 4 Using Multi-Model Redis: Data Models, Structures, and Modules
Redis Data Models
Strings and bitmaps
Lists
Sets
Hashes
Sorted sets
HyperLogLog
Patterns and Data Structures
Pub/sub
Geospatial indexes
Redis Streams
Redis Modules
RediSearch
RedisJSON
RedisTimeSeries
RedisGraph
RedisBloom
RedisAI
RedisGears
Chapter 5 Redis Architecture and Topology
Understanding Clustering and High Availability
Redis Enterprise cluster architecture
High availability
Running Redis at scale
Redis on Flash
Examining Transactions and Durability
ACID
Durability
Chapter 6 Using Redis Enterprise Software and Redis Enterprise Cloud
Understanding Redis Enterprise Software and Redis Enterprise Cloud
Getting Started with Redis Enterprise Software and RedisInsight
Meeting the prerequisites
Installing Redis Enterprise in a Docker container
Understanding concepts and architecture
Connecting with RedisInsight
Chapter 7 A Simple Redis Application
Getting Started
Prerequisites
Front-end application code
Creating a CRUD App
Cars (sets)
Features (lists)
Car descriptions (hashes)
Chapter 8 Building an Application with RediSearch
Using RediSearch for Movie Data
Installing RediSearch
Inserting data
Working with Data and Indexes
Querying data
Adding and viewing indexes
Searching data
Chapter 9 Developing an Active-Active/Conflict-Free Replicated Data Type Application
Getting Acquainted with Conflict-Free Replicated Data Types
Defining conflict-free replicated data types
Looking at how they’re different
Understanding why and where you need them
Working with Conflict-Free Replicated Data Types
Getting an overview of the application
Considering the prerequisites
Starting the containers
Testing the conflict-free replicated data type
Watching Conflict-Free Replicated Data Types at Work
Setting up the example code environment
Viewing the example with a healthy network
Breaking the network connection between clusters
Viewing the example in a split network
Rejoining the network
Looking at the example in a rejoined network
Chapter 10 Ten Things You Can Do with Redis
EULA