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
mysql casual talks vol7
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Ryoichi SEKIGUCHI
December 12, 2014
Programming
2.6k
0
Share
mysql casual talks vol7
Ryoichi SEKIGUCHI
December 12, 2014
More Decks by Ryoichi SEKIGUCHI
See All by Ryoichi SEKIGUCHI
非同期処理とは何なのか
ryopeko
0
130
functionalなアプローチで動的要素を排除する
ryopeko
1
4.3k
Ruby makes everything
ryopeko
0
160
正しく失敗しながら進むプロダクト開発/railsdm2018
ryopeko
10
6.2k
CircleCI を使って自動(ほぼ)でセキュリティアップデート / circleci meetup
ryopeko
4
600
Kaizen Platform でやっている Kaizen Week というイベントについて / kaize week tokyurubykaigi 10
ryopeko
2
1.2k
rubyhiroba
ryopeko
6
1.4k
devsumi2014-dena-bootcamp2014
ryopeko
40
65k
jtrk02
ryopeko
0
5.8k
Other Decks in Programming
See All in Programming
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
340
PHPでローカル環境用のSSL/TLS証明書を発行することはできるのか? #phpconkagawa
akase244
0
350
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
AgentCore Optimizationを始めよう!
licux
3
230
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
350
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
380
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
250
2026年のソフトウェア開発を考える(2026/05版) / Software Engineering Scrum Fest Niigata 2026 Edition
twada
PRO
22
12k
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
AIと共に生きる技術選定 2026
sgash708
0
140
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
4
450
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
2
270
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Six Lessons from altMBA
skipperchong
29
4.2k
[SF Ruby Conf 2025] Rails X
palkan
2
1k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
30 Presentation Tips
portentint
PRO
1
290
Done Done
chrislema
186
16k
Utilizing Notion as your number one productivity tool
mfonobong
4
300
Amusing Abliteration
ianozsvald
1
160
Exploring anti-patterns in Rails
aemeredith
3
350
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
230
Transcript
Ruby(Rails)͔Β ΧδϡΞϧʹ Q4M Λ ͑ΔԿ͔Λ࡞͓ͬͨ ؔޱ྄Ұ ! ryopeko " ryopeko
.Z42-DBTVBMUBMLTWPM
ؔޱ ྄Ұ # ryopeko " ryopeko • ύʔϑΣΫτRuby ڞஶऀ •
σϒαϛ2014εϐʔΧʔ • ϕετεϐʔΧʔ 2Ґड • ࠷ۙਓ͔ؒͨͪΒෳDBͱݺ Ε͍ͯΔ
None
ΈΜͳେ͖ ΩϡʔϑΥʔΤϜʂʂ̍
ϧϏʔͰ͏ʹ ͪΐͬͱͭΒ͍…
ϧϏʔͷੈքͰ Redis ͬͯΔΑ
None
shinq # SZPQFLPTIJOR
None
shinq ActiveJob ͷ ΠϯλʔϑΣʔεΛͬͨϥΠϒϥϦ
ActiveJobʁ
None
ActiveJob • Rails4.2 ͔ΒೖΔ༧ఆͷΩϡʔΞμϓλʔ • ΩϡʔϥΠϒϥϦΛࠩ͠ସ͍͑͢͠Α ͏ʹ͢Δͷ • daemon ࣮ߦ֤ࣗؤுͬͯ
shinq ͷ͍ํ
queue table Λ࡞Δ
None
Worker Class Λ࡞Δ
None
generator ͋ΔΑʂ
None
None
enqueue ͢Δ
None
dequeue ͢Δ
None
ίϚϯυϥΠϯΦϓγϣϯ
ίϚϯυϥΠϯΦϓγϣϯ • —worker ࣮ߦ͢Δ worker name • —process fork ͢Δϓϩηε
• —queue-timeout queue_wait ͰλΠϜ Ξτ͢Δඵ • -d, —daemon daemon ͱ࣮ͯ͠ߦ • etc…
·ͱΊ
·ͱΊ • Ruby(Rails) Ͱ Q4M ΛΧδϡΞϧʹ ѻ͏Կ͔Λ࡞ͬͨΑ • ϞμϯͳΠϯλʔϑΣʔεͩΑ •
Ϟμϯ͗ͯ͢4.2͡Όͳ͍ͱ͑ͳ͍ Α(ࠓRC2) • # ryopeko/shinq ͩΑ