Skyline

[ field notes ]

The Skyline blog.

What we've learned running Laravel queues in production on Horizon and Redis, checked against the framework source.

RSS feed

· 13 min read

What Happens When You Clear a Queue in Laravel?

Clearing a Laravel queue deletes the payloads but not the ShouldBeUnique locks they hold, and with the default uniqueFor those locks never expire. How to see what is in a backlog, what queue:clear deletes, and how to drain it without leaving a job that can't be dispatched again.

Read more

· 15 min read

Laravel ShouldBeUnique: What Breaks Under Real Traffic

ShouldBeUnique and WithoutOverlapping solve different problems and fail in different ways. What each one locks and when, and the failures that show up only at volume: dispatches dropped without an error, chains and retries that skip the lock, and locks that never expire.

Read more