Cover Image for A deep dive into Queues & Background Jobs in Laravel
Cover Image for A deep dive into Queues & Background Jobs in Laravel
Avatar for PHP Talks Lagos
Presented by
PHP Talks Lagos

A deep dive into Queues & Background Jobs in Laravel

Google Meet
Registration
Past Event
Welcome! To join the event, please register below.
About Event

​Join us for the next PHP Talks Lagos meetup for a deep dive into how Laravel's queues and background jobs work under the hood. You've shipped jobs before. Could you explain where one sits between dispatch() and execution, and why it sometimes fires twice?

​Every Laravel app eventually has work that's too slow for a web request: sending an email, calling a third-party API, generating a report, processing an upload. You hand it to a queue and move on. Most of us do that for years without a clear picture of what happens after the call to dispatch(), and that gap is where the bugs you can't explain come from.

​This session follows a job through its full lifecycle, from the moment you dispatch it to the moment a worker reserves it and runs it. We'll ground every step in a worked example so the mechanics stay concrete.

​What we'll cover

  • ​Where a job lives between dispatch() and the moment a worker runs it

  • ​The four moving parts: the job, the queue, the worker, and the failed_jobs table

  • ​What gets serialized when you queue a job, and the stale-model trap that follows

  • ​How a worker reserves a job, and why two workers don't usually grab the same one

  • ​What happens when a job fails, and how retries and backoff handle it

  • ​Why a job can run more than once, and what that means for how you write it

​What to expect

​A deep-dive explainer built around diagrams and a worked example, so the internals stay concrete. You'll leave with a clear mental model of what happens every time you queue a job, and why your queue behaves the way it does under load.

​Who should attend

  • ​Backend engineers who ship background jobs but treat the queue as a black box

  • ​Developers who've watched a job duplicate or vanish and couldn't explain why

  • ​Anyone who wants to reason about how their queue behaves under load

  • ​PHP developers who know how to dispatch a job and want to know what happens next

​About PHP Talks Lagos

​PHP Talks Lagos is a developer community focused on practical knowledge sharing around PHP, Laravel, and modern backend development. We host regular meetups where engineers learn, build, and share what they've seen work.

Avatar for PHP Talks Lagos
Presented by
PHP Talks Lagos