Advanced Redis
2h 8mAdvanced2023-04-19
Authors
Janani Ravi
Certified Google Cloud Architect and Data Engineer
Course details
In this course, explore the advanced features that the Redis database server has to offer. Instructor Janani Ravi first shows how to install and optimize your Redis operations. She then explains how to run benchmarks on your Redis server to assess the performance of Redis operations. Next, she shows how to use RediSearch, which enables querying, secondary indexing, and full-text search for Redis. Finally, Janani explains how to query JSON structures with RedisJSON.
Skills covered
RedisAdvancedDatabase DevelopmentDatabase ManagementOpen SourceSoftware Development
Concepts
Introduction
- An overview of Redis
Installing and Setting up Redis
- Redis optimizations
- Installing Redis on macOS
- Installing Redis on Debian Linux
Improving Performance with Pipelines
- Pipelining
- Pipelining using the Redis CLI
- Pipelining using a Python client
- Performance improvement with pipelining
- Parsing a text file to run pipeline commands
Benchmarking a Redis Server
- Benchmarking
- Benchmarking Redis
- Configuring the benchmark utility
- Configuring a firewall rule
- Instantiating Cloud VMs in different regions
- Running the Redis Server in Two Different Locations
- Comparing latencies for Redis servers in different locations
- Benchmarking pipelined and multi-threaded operations
Performing Basic Full-Text Search with RediStack
- Introducing RediStack
- Installing RediStack on macOS
- Installing RediStack on Debian Linux
- Creating a searching index and performing search
- Indexing and searching multiple fields
- Realtime updates of indexes
Perform Complex Full-Text Searches
- Using logical operations in search queries
- Controlling a search using options
- Performing a tag search
- Indexing and searching numeric fields
- Configuring stop words for text search
- Performing fuzzy search
- Grouping and aggregation
Querying JSON Structures with RedisJSON
- Working with JSON objects
- Working with JSON arrays
- Performing operations on JSON arrays
- Performing operations on JSON objects
- Performing operations on strings and numeric values in JSON
- Searching JSON documents
Conclusion
- Summary and next steps