Articles Redis
TAG ARCHIVE

Everything on Redis.

6 articles tagged Redis, sorted newest first.

devops

Migrate a Laravel App from Redis to Valkey Without Changing a Line of Code

A Laravel Valkey migration runbook: what actually differs, how to move the persisted data instead of cold-starting, and how to sequence cache, sessions and queues so a mistake costs a cache miss rather than a lost job.

13 min read
laravel

The Complete Guide to Caching in Laravel: Tags, Locks, and Invalidation

Most Laravel developers know Cache::remember and stop there. This guide goes the whole way: drivers, stale-while-revalidate, cache tags, atomic locks for stampedes, and an invalidation strategy that survives production.

18 min read
laravel

Stop Laravel Queue Workers from Leaking Memory with --max-jobs and --max-time

Laravel queue workers are long-running daemons: and daemons drift. Here's how to configure them to self-restart before they start misbehaving.

5 min read
laravel

Fine-grained rate limiting on Laravel API routes

Slapping throttle:60,1 on every route treats your free-tier users and enterprise customers identically. Here's how to do it properly with named rate limiters.

5 min read
laravel

Scaling Laravel queues in production: Horizon, Redis, and multi-server workers

Queue tutorials stop at dispatch and queue:work. Here is everything else: the architecture, Horizon configuration, failure handling, and multi-server scaling that keeps production queues healthy under real traffic.

16 min read
laravel

Monitoring Laravel queues in production with Horizon

Most teams install Horizon and leave it at its defaults. Here's the production configuration that actually gives you visibility into your queues.

6 min read