Articles › Redis
TAG ARCHIVE

Everything on Redis.

9 articles tagged Redis, sorted newest first.

php

The Serializer Nobody Configures: igbinary for Laravel Cache and Queue Payloads

Laravel's Redis connection has a serializer option that is unset by default. Turning on igbinary can cut cached payloads by a third — and will silently orphan every existing key if you do it wrong.

9 min read →
laravel

Scale Laravel Queue Workers to Zero and Back with KEDA

A worker blocked on Redis uses no CPU, so the HPA never scales it. Here is the KEDA ScaledObject that scales on queue depth instead — including scale-to-zero and the shutdown config that stops Kubernetes killing jobs.

11 min read →
laravel

The Cache Hit You Still Paid For: Laravel's Memo Driver and Tagged Memoization

A Redis cache hit is still a network round trip. The memo driver collapses eleven reads of the same key into one — and as of Laravel 13.33 it finally works with tags.

10 min read →
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 →