Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Laravel Queue の運用管理 / laravel-queue-20190318
Search
Masato Igarashi
March 18, 2019
Technology
3
690
Laravel Queue の運用管理 / laravel-queue-20190318
Masato Igarashi
March 18, 2019
Tweet
Share
Other Decks in Technology
See All in Technology
オープンデータの内製化から分かったGISデータを巡る行政の課題
naokim84
2
1.3k
Bakuraku Engineering Team Deck
layerx
PRO
11
5.4k
ページの可視領域を算出する方法について整理する
yamatai1212
0
160
Microsoft Agent 365 を 30 分でなんとなく理解する
skmkzyk
1
190
翻訳・対話・越境で強いチームワークを作ろう! / Building Strong Teamwork through Interpretation, Dialogue, and Border-Crossing
ar_tama
4
1.6k
セキュリティAIエージェントの現在と未来 / PSS #2 Takumi Session
flatt_security
3
1.3k
小さな判断で育つ、大きな意思決定力 / 20251204 Takahiro Kinjo
shift_evolve
PRO
1
270
その設計、 本当に価値を生んでますか?
shimomura
2
160
32のキーワードで学ぶ はじめての耐量子暗号(PQC) / Getting Started with Post-Quantum Cryptography in 32 keywords
quiver
0
170
生成AI・AIエージェント時代、データサイエンティストは何をする人なのか?そして、今学生であるあなたは何を学ぶべきか?
kuri8ive
2
1.4k
20251127 BigQueryリモート関数で作る、お手軽AIバッチ実行環境
daimatz
0
420
Security Diaries of an Open Source IAM
ahus1
0
100
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
The Invisible Side of Design
smashingmag
302
51k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Why Our Code Smells
bkeepers
PRO
340
57k
How GitHub (no longer) Works
holman
316
140k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Music & Morning Musume
bryan
46
7k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
700
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
Transcript
-BSBWFM2VFVFͷӡ༻ཧ ޒेཛྷਖ਼ਓגࣜձࣾΦʔϓϯϩδ -BSBWFM7VFKTษڧձ
ޒेཛྷਖ਼ਓ!NJHST גࣜձࣾΦʔϓϯϩδ$50 ຊ͔࣌Β࢜ొࢁڝΤϯτϦʔ
γϯϓϧͰ͍উखͷྑ͍ ྲྀΞτιʔγϯάϓϥοτϑΥʔϜ ϞϊΛ༬͚ͯൃૹߦΛ͍ͨ͠ՙओاۀ͞·ͱ ݿɾૹاۀ͞·Λ ΫϥυܕͷγεςϜͰͭͳ͍Ͱ͍·͢ɻ Φʔϓϯϩδͱʁ
ٕज़ελοΫ https://qiita.com/migrs/items/dab171ee613f0c278596 ΦʔϓϯϩδΛࢧ͑Δٕज़ʢ൛ʣ
δϣϒͷجຊ ίϚϯυΫΤϦ $PNNBOE2VFSZ3FTQPOTJCJMJUZ4FHSFHBUJPO $234
ಡΈࠐΈ ҰൠతͳॲཧͷྲྀΕ Web Command Write Processed Web Query Read Result
ॻ͖ࠐΈ DB DB
$234 ͯ͢ͷॻ͖ࠐΈδϣϒͰߦ͏ Job Web Command Enqueue Accepted Dequeue Write Processed
Pusher Processed Queue DB
public function updateItem($id, Request $request) { $item = Item::findOrFail($id); $item->name
= $request->input('name'); $item->save(); } public function updateItem($id, Request $request) { dispatch(new UpdateItem($id, [ 'name' => $request->input('name'); ])); } ίʔυͷมԽ
δϣϒͷεςʔλεཧ -BSBWFM)PSJ[POͱ-BSBWFM5FMFTDPQF ͕ͯ͢δϣϒͰॲཧ͞Ε͍ͯΔͷͰ ͦΕͳΓʹͪΌΜͱཧ͍ͨ͠
-BSBWFM)PSJ[PO
-BSBWFM5FMFTDPQF
)PSJ[POͱ5FMFTDPQFͷҧ͍ )PSJ[PO 5FMFTDPQF 4VNNBSZ 3FEJTΩϡʔઐ༻ͷ ϞχλϦϯάπʔϧ -BSBWFMͷঢ়ଶΛѲͰ͖Δ ։ൃ༻σόοάπʔϧ 5BSHFU&OW 1SPEVDUJPO
%FWFMPQNFOU 7FSTJPO -ʙ -ʙ 2VFVF 3FEJTPOMZ "MM JODMVEF4ZOD 3FUSZ'BJMFE+PC ˓ ☓ 4IPX+PC4UBUVT ˚ 3FDFOUPOMZ ˓
ΦʔϓϯϩδͰ ֤δϣϒͷεςʔλεཧ ୭͕ ͍ͭ Ͳ͜Ͱ ԿΛ ͬͨͷ͔
-BSBWFM5FMFTDPQF
-BSBWFM5FMFTDPQF
ΦʔϓϯϩδͰ 'BJMFE+PCͷ࠶࣮ߦ
-BSBWFM)PSJ[PO
͕ͨͪٻΊͯΔͷ )PSJ[PO 5FMFTDPQF ཉ͍͠ͷ 4VNNBSZ ϞχλϦϯά σόοά ϞχλϦϯά ϩΪϯά 5BSHFU&OW
1SPEVDUJPO %FWFMPQNFOU 1SPEVDUJPO 7FSTJPO -ʙ -ʙ - 2VFVF 3FEJTPOMZ "MM JODMVEF4ZOD "MM 3FUSZ'BJMFE +PC ˓ ☓ ˓ 4IPX+PC 4UBUVT ˚ 3FDFOUPOMZ ˓ ˓
·ͱΊ ͯ͢ͷߋ৽ॲཧΛδϣϒͰ࣮͢Δ͜ͱͰɾɾɾ ✓εέʔϥϒϧ ✓ؔ৺ࣄͷ ✓ͦΕͧΕݸผʹεέʔϦϯάͰ͖Δ δϣϒͷ࣮ߦهΛ͢͜ͱͰɾɾɾ ✓࣮ূՄೳͳࠪূΛͤΔ ✓τϥϒϧγϡʔςΟϯά͍͢͠