Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Managing queues with Laravel Horizon (AFUP)
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Freek Van der Herten
May 17, 2019
Technology
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Managing queues with Laravel Horizon (AFUP)
Freek Van der Herten
May 17, 2019
More Decks by Freek Van der Herten
See All by Freek Van der Herten
Uncharted packages (ode aan de code)
freekmurze
0
66
Uncharted packages (Laravel Live Denmark)
freekmurze
0
260
I shall define this only once
freekmurze
0
480
An Introduction to Snapshot testing
freekmurze
0
580
Event Sourcing In Laravel
freekmurze
0
290
Building a realtime dashboard with Laravel Livewire (PHPKonf)
freekmurze
0
880
A tour behind the scenes of Oh Dear (PHP Benelux)
freekmurze
2
920
A practical look at multitenancy in Laravel
freekmurze
1
410
A practical look at multitenancy in Laravel (Laracon US)
freekmurze
0
790
Other Decks in Technology
See All in Technology
SIer20年! 培ったスキルがスタートアップで輝く時
shucho0103
0
730
protovalidate-es を導入してみた
bengo4com
0
150
「嘘をつくテスト」の失敗例から学ぶ 良いテストコード #frontend_phpcon_do
asumikam
0
570
会社紹介資料 / Sansan Company Profile
sansan33
PRO
18
420k
Socrates × Looker 〜セマンティックレイヤーで進化するデータ分析エージェント〜
hanon52_
1
450
Oracle Cloud Infrastructure IaaS 新機能アップデート 2026/3 - 2026/5
oracle4engineer
PRO
1
220
サイバーセキュリティ概論 / Introduction to Cybersecurity
ks91
PRO
0
170
Claude code Orchestra
ozakiomumkj
3
1k
Terraformモジュールは、なぜ「魔境」化するのか
hayama17
2
220
Rubyで音を視る
ydah
1
110
PHP と TypeScript の型システム比較:AI 時代の「型」は誰のためにあるのか? #frontend_phpcon_do / frontend_phpcon_do_2026
shogogg
1
260
新規ゲーム開発におけるAI駆動開発のリアル
202409e2
0
2.9k
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
210
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
380
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
940
Speed Design
sergeychernyshev
33
1.8k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
840
Art, The Web, and Tiny UX
lynnandtonic
304
22k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
560
Tell your own story through comics
letsgokoyo
1
950
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
Transcript
Supercharging queues in Laravel with Horizon
About me Freek Van der Herten Partner & developer at
Spatie @freekmurze murze.be ohdear.app
fullstackeurope.com
Open Source Software
Spatie creates a lot of it ± 200 packages on
Packagist ± 2,300,000 downloads a month ± 35,000,000 total downloads All Postcardware!
Highlights Laravel Popular laravel-backup laravel-medialibrary laravel-permission
Highlights PHP Popular browsershot crawler fractalistic image-optimizer
spatie.be/open-source
spatie.be/open-source/postcards
Let's talk about queues
This talk Tiny bit of theory Queueing basics in Laravel
Introducing Horizon
Theory
Why do we use queues? Users want fast responses Intensive
tasks shouldn't be done inside the request Move work to a queue
WORK TIME TIME REQUEST REQUEST WORK
ONE QUEUE MULTIPLE QUEUES Queue 1 Queue 2 Queue 3
TIME TIME WORK A WORK A WORK B WORK C WORK B WORK C
Queues in Laravel
Feature rich Priorities Chaining Delays Testable
Driver based Database, Redis, Beanstalkd, Amazon SQS Can create your
own driver Sync driver is handy locally
Demo
Introducing Horizon
Free first party package Dashboard for queues Scheduler Code driven
configuration Laravel & Redis specific
Demo
In closing
Summary Feature rich Driver based Easy testable Horizon is a
powerful tool to manage jobs
Resources github.com/spatie/laravel-queues-demo-app laravel.com/docs/5.8/queues laravel.com/docs/5.8/horizon ohdear.app/blog/how-to-size-scale-your-laravel-queues
Thank you! speakerdeck.com/freekmurze/horizon-afup spatie.be/open-source murze.be ohdear.app fullstackeurope.com