Logo Wael's Digital Garden

Redis

Redis#

This section documents the in-memory data structure store used for caching, message brokering, and high-performance databases.

๐ŸŽ› Core Concepts#

  • Data Types: Usage patterns for Strings, Hashes, Lists, Sets, and Sorted Sets.
  • Persistence: Trade-offs between RDB (Snapshots) and AOF (Append Only File).
  • Memory Management: Eviction policies (volatile-lru, allkeys-lru) and maxmemory tuning.

๐Ÿ›  Operations & HA#

  • High Availability: Sentinel configuration for automatic failover and monitoring.
  • Clustering: Sharding strategies and hash slot management for horizontal scaling.
  • CLI: Essential commands for debugging, latency monitoring, and real-time statistics.

๐Ÿ“š External Resources#