Skip to content

Topic · 39 articles

Redis

Caching, data structures, and Redis as infrastructure.

Redis is far more than a cache, and this hub treats it that way. It works through the core data structures, the caching patterns and their failure modes — cache-aside, write-through, stampede protection — and the infrastructure uses like locks, rate limiting, pub/sub, and leaderboards, then what it takes to run Redis reliably.

It is anchored by the Redis Masterclass series and pairs with the Databases and System Design hubs.

Subscribe to Redis via RSS

All Redis articles

Redis Caching Best Practices and Pitfalls — Aman Kumar Singh
Preventing Cache Stampede with Redis — Aman Kumar Singh
Cache Invalidation Strategies with Redis — Aman Kumar Singh
Refresh-Ahead Caching with Redis — Aman Kumar Singh
Write-Behind (Write-Back) Caching with Redis — Aman Kumar Singh
Read-Through and Write-Through Caching with Redis — Aman Kumar Singh
The Cache-Aside Pattern with Redis — Aman Kumar Singh
Redis Key Expiration, TTL, and Eviction Policies — Aman Kumar Singh
Redis Sorted Sets and Ranked Data — Aman Kumar Singh
Redis Sets and Set Operations — Aman Kumar Singh
Redis Lists and Simple Queues — Aman Kumar Singh
Redis Hashes: Storing Objects — Aman Kumar Singh
Redis Strings, Counters, and Atomic Operations — Aman Kumar Singh
Redis Data Structures: An Overview — Aman Kumar Singh
What Redis Is and When to Use It — Aman Kumar Singh
Microservices with NestJS — Aman Kumar Singh
Event-Driven Architecture — Aman Kumar Singh
Rate Limiting and Throttling — Aman Kumar Singh
Sending Emails from NestJS — Aman Kumar Singh
Server-Sent Events — Aman Kumar Singh
WebSockets and Gateways — Aman Kumar Singh
Scheduling and Cron Tasks — Aman Kumar Singh
Background Jobs with BullMQ — Aman Kumar Singh
Caching with Redis in NestJS — Aman Kumar Singh
Show all 39 articles
Role and Permission Authorization — Aman Kumar Singh
Interceptors Explained — Aman Kumar Singh
Rendering Strategies: SSR, SSG, and ISR — Aman Kumar Singh
Caching and Revalidation in Next.js — Aman Kumar Singh
Performance Tuning Before Launch — Aman Kumar Singh
Caching Strategies for a SaaS — Aman Kumar Singh
Disaster Recovery and Backups — Aman Kumar Singh
Scaling a SaaS Beyond One Server — Aman Kumar Singh
Feature Flags and Safe Rollouts — Aman Kumar Singh
Subscription Billing and Plans — Aman Kumar Singh
Product Analytics and Event Tracking — Aman Kumar Singh
Designing the SaaS Dashboard — Aman Kumar Singh
Building a Notification System — Aman Kumar Singh
Session Management and Token Storage — Aman Kumar Singh
Role-Based Access Control (RBAC) in a SaaS — Aman Kumar Singh

Frequently asked questions

Is Redis only covered as a cache here?

No. Caching patterns are a big part of it, but the hub also covers Redis data structures, distributed locks, rate limiting, pub/sub, streams, and running Redis in production with replication and monitoring.