Skip to main content

22 docs tagged with "redis"

View all tags

Amazon ElastiCache

Amazon ElastiCache for DVA-C02. Redis vs Memcached comparison, caching strategies (lazy loading, write-through, session store), cluster modes, Multi-AZ, and common exam patterns.

Caching Strategies

In-depth guide to caching strategies including cache-aside, write-through, write-behind, eviction policies, cache stampede prevention, hotkeys, Redis data structures, and multi-level caching.

Distributed Lock

Implementation of Distributed Locks using Redis, Redisson, and the Redlock algorithm for senior engineers.

NoSQL & Distributed Databases

From first principles to production — key-value, document, wide-column, and graph databases with deep dives into MongoDB and Cassandra for Java/Spring engineers.

Proximity Search & Geospatial Indexes

A comprehensive guide to proximity search and geospatial indexing — covering spatial trees, encoded key indexes, production Java/Spring implementation, and senior deep dives on trade-offs and failure modes.

Rate Limiting

A complete guide to rate limiting — from beginner fundamentals to senior-level distributed design. Covers all algorithms, Redis implementations, decision frameworks, failure modes, and production patterns.

Redis as Distributed Cache

Distributed caching patterns with Redis — cache-aside, write-through, write-behind, read-through — and production concerns like stampede, warming, invalidation, and Spring Cache integration.

Redis as In-Memory Database

Redis as a primary in-memory database — persistence mechanisms (RDB, AOF), durability guarantees, data modeling patterns, and when to use Redis as your primary store vs cache.

Redis Data Types & Value Types

Complete guide to Redis data types — Strings, Hashes, Lists, Sets, Sorted Sets, Bitmaps, HyperLogLog, Geospatial, and Streams — with senior-level use cases and encoding internals.

Redis Eviction Policies

Comprehensive guide to Redis maxmemory algorithms (LRU, LFU, Random) and how Redis approximates caching algorithms at scale for senior engineers.

Redis Interview Questions & Answers

Senior-level Redis interview questions covering data structures, persistence, clustering, cache patterns, distributed systems, and production failure scenarios.

Redis Pipeline, Transactions & Lua Scripts

Deep dive into Redis pipelining for throughput optimization, MULTI/EXEC transactions, optimistic locking with WATCH, and atomic Lua scripting — with production patterns and pitfalls.

Redis Pub/Sub

Redis Pub/Sub messaging — channels, patterns, fire-and-forget semantics, delivery guarantees, and production comparison with Redis Streams.

Redis Streams

Complete guide to Redis Streams — append-only logs, consumer groups, message acknowledgement, and comparison with Kafka for senior engineers.

Redis: Overview & Architecture

Redis architecture internals, single-threaded model, I/O multiplexing, and use case decision guide for senior engineers.

Scaling Reads

Strategies for handling high read QPS including caching layers, read replicas, CDN, CQRS, and database indexing. Covers Redis patterns, cache invalidation, consistency models, fan-out strategies, and senior-level deep dives into coherence, hot keys, and tail latency.

Session Management

Managing distributed sessions with Redis and Spring Session, including security best practices and programmatic control.