Redis Cache Management: 68 Things Beginners Must Know by Horikawa Yuka, Nishihara Junko, Azuma Misaki
English | October 16, 2024 | ISBN: N/A | ASIN: B0DK7GF25S | 190 pages | EPUB | 0.33 Mb
English | October 16, 2024 | ISBN: N/A | ASIN: B0DK7GF25S | 190 pages | EPUB | 0.33 Mb
Redis is a powerful in-memory data structure store commonly used as a cache to improve application performance.In this book, beginners will discover the fundamental concepts of Redis cache management, including key-value pairs, data types, and persistence techniques.You’ll learn how to handle Redis strings, hashes, lists, sets, and sorted sets, as well as the atomic nature of Redis commands for efficient execution.Explore advanced topics like cache eviction policies, horizontal scaling with Redis Cluster, and high availability using Redis Sentinel.This guide provides practical insights into real-time communication with Redis Pub/Sub and helps you monitor memory usage to avoid overflow.Master the use of transactions, key expiry, and Lua scripting in Redis to optimize your caching strategy.Ideal for beginners looking to deepen their understanding of Redis and improve application performance with effective cache management.
《Index》
・Redis as an In-Memory Cache
・Redis Key-Value Pairs and Data Types
・Redis Persistence: Data Storage Is Non-Persistent by Default
・Redis Data Structures: Strings, Hashes, Lists, Sets, and Sorted Sets
・Redis Strings: Binary-Safe and Can Hold Any Data Up to 512MB
・Redis Hashes: Field-Value Mappings for Storing Objects
・Working with Ordered Lists in Redis
・Managing Unordered Sets in Redis
・Sorted Sets in Redis with Ordered Elements by Score
・Case-Sensitivity of Redis Keys
・Redis commands are atomic and execute without interruption
・Using MULTI, EXEC, DISCARD, and WATCH for Redis Transactions
・Setting Expiry for Keys in Redis
・Atomic Lua Scripting in Redis
・Real-Time Communication with Redis Pub/Sub
・Cache Eviction Policies in Redis
・Understanding Redis's Default Eviction Policy: noeviction
・Scaling Redis Horizontally with Redis Cluster
・Using Redis Sentinel for High Availability and Automatic Failover
・Monitoring Redis Memory Usage to Prevent Overflow
・Persistence in Redis: RDB Snapshots and AOF (Append-Only File)
…etc