#Redis
16 articles tagged with Redis
Caching Explained: The Sticky Notes on Your Monitor & Cache Invalidation (2026)
Building a Spam/Fraud Detection System From Rules to ML in 2026
A comprehensive engineering guide to scaling fraud and abuse prevention. We analyze deterministic velocity heuristics, Redis sliding-window leaky buckets, real-time feature stores, XGBoost risk scoring models, and hybrid decision engines processing 100,000 requests per second.
Caching Strategy: Cache-Aside vs Write-Through in a Real API
Compare database caching patterns: Cache-Aside (Lazy Loading) vs Write-Through vs Write-Behind in Node.js and Redis.
FastAPI BackgroundTasks vs Celery for Sending Email: Which One to Use?
A real engineering comparison of FastAPI BackgroundTasks vs Celery for sending email in 2026 — covering reliability, retries, failure handling, and when each fits.
Building a Rate Limiter That Survives a Traffic Spike: From Token Bucket to Distributed GCRA
Conquer microservice overload and DDoS surges. Learn how to architect a production-ready, distributed rate limiter using the Generic Cell Rate Algorithm (GCRA) and atomic Redis Lua scripts.
Designing a Task Queue for AI Agents Working on the Same Codebase
Parallel agent coordination. How to design Git worktree isolation, file-level mutex locks, AST dependency DAG scheduling, and Redis queues for multi-agent teams.
Idempotent Background Jobs: Handling Retries Without Duplicates
The distributed background job reliability architecture. How Idempotency Keys, Redis SETNX locks, and atomic database transactions prevent duplicate payment processing.
Multi-Tenant Rate Limiting: Fair Usage Without Starving Anyone
The SaaS API fairness blueprint. Token bucket vs sliding window per-tenant isolation, Redis Lua scripts for atomic decrement, and burst headroom allocation.
FastAPI Rate Limiting and Cost Controls for LLM-Backed Endpoints
Traffic-shaped rate limiting isn't enough when every request has a dollar cost attached. A layered approach: request limits, token-aware budgets, and hard circuit breakers.
Building Real-Time Multiplayer Games with WebSockets and Redis
Discover the architecture behind massively multiplayer browser games. Learn how to combine Node.js, WebSockets, and Redis Pub/Sub for high-throughput, low-latency synchronisation.
Building a Multi-Tenant Go APNs Notification Gateway: Handling 50k Push Messages/Sec with HTTP/2 and Redis
Learn how to construct a highly performant, multi-tenant Apple Push Notification service (APNs) gateway in Go. Architect a system that processes 50,000 requests per second using HTTP/2, JWT token auth, and Redis queues.