Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
mysql casual talks vol7
Search
Ryoichi SEKIGUCHI
December 12, 2014
Programming
2.6k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
mysql casual talks vol7
Ryoichi SEKIGUCHI
December 12, 2014
More Decks by Ryoichi SEKIGUCHI
See All by Ryoichi SEKIGUCHI
非同期処理とは何なのか
ryopeko
0
160
functionalなアプローチで動的要素を排除する
ryopeko
1
4.5k
Ruby makes everything
ryopeko
0
180
正しく失敗しながら進むプロダクト開発/railsdm2018
ryopeko
10
6.3k
CircleCI を使って自動(ほぼ)でセキュリティアップデート / circleci meetup
ryopeko
4
620
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
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
210
Groovy as a human and AI friendly programming language
paulk
0
120
Kotlinの15年とServer-Side Kotlin
n_takehata
1
170
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
240
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
1.1k
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
180
Modernizing iOS Apps
seyfoyun
0
120
AI-Powered Domain-Driven Design
ziobrando
0
320
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
150
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
140
AIが生成したコードは読むべきか?抽象化設計とコードの品質保証 / abstraction-design-and-quality
minodriven
3
720
Event is what happens
moro
2
1.6k
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
57
14k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.8k
The agentic SEO stack - context over prompts
schlessera
0
980
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Navigating Weather and Climate Data
rabernat
0
560
sira's awesome portfolio website redesign presentation
elsirapls
0
470
Deep Space Network (abreviated)
tonyrice
0
380
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
For a Future-Friendly Web
brad_frost
184
10k
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 ͩΑ