Design a Leaderboard / Counter System at Scale — 2026 Patterns

Leaderboards and live counters at scale. Redis sorted sets, counter sharding for hot keys, eventual consistency tradeoffs, and the production realities.

April 30, 2026 · 3 min · 539 words · Manvendra Rajpoot

Caching Strategies in 2026 — Redis, Valkey, and the Patterns That Actually Work

Production caching strategies — cache-aside vs write-through vs write-behind, stampede prevention, hot keys, TTL design, the Redis-vs-Valkey split, and a checklist for adding caching that doesn’t bite back.

April 28, 2026 · 8 min · 1620 words · Manvendra Rajpoot

Design a Rate Limiter — Algorithms, Distributed Implementation, and the Tradeoffs

How to design a distributed rate limiter end-to-end. The four classic algorithms, when to pick each, a Redis Lua implementation, distributed coordination, and the gotchas (clock skew, hot keys, fairness).

April 28, 2026 · 7 min · 1462 words · Manvendra Rajpoot

Rate Limiting Strategies for APIs

A practical comparison of rate limiting algorithms (fixed window, sliding window, leaky bucket, token bucket), production-ready Redis implementations, and the headers your API should return.

April 28, 2026 · 8 min · 1525 words · Manvendra Rajpoot

Redis Caching Strategies for Backend Developers

How to use Redis as a cache properly — patterns (cache-aside, read-through, write-behind), key design, TTLs, invalidation, and the production gotchas to avoid.

April 28, 2026 · 8 min · 1520 words · Manvendra Rajpoot

Celery and Background Tasks for Python Backends

A practical Celery guide: brokers, workers, idempotent task design, retries with backoff, scheduled jobs, and the production setup that actually scales.

April 28, 2026 · 7 min · 1471 words · Manvendra Rajpoot