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
Ryoichi SEKIGUCHI
December 12, 2014
Programming
0
2.3k
mysql casual talks vol7
Ryoichi SEKIGUCHI
December 12, 2014
Tweet
Share
More Decks by Ryoichi SEKIGUCHI
See All by Ryoichi SEKIGUCHI
Ruby makes everything
ryopeko
0
92
正しく失敗しながら進むプロダクト開発/railsdm2018
ryopeko
10
5.8k
CircleCI を使って自動(ほぼ)でセキュリティアップデート / circleci meetup
ryopeko
4
490
Kaizen Platform でやっている Kaizen Week というイベントについて / kaize week tokyurubykaigi 10
ryopeko
2
1.1k
rubyhiroba
ryopeko
6
1.2k
devsumi2014-dena-bootcamp2014
ryopeko
40
63k
jtrk02
ryopeko
0
5.5k
DeNA Bootcamp 2013
ryopeko
15
7.4k
自分の道具を知る
ryopeko
10
2.1k
Other Decks in Programming
See All in Programming
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
520
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
230
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
Outline View in SwiftUI
1024jp
1
330
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
2k
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
RubyLSPのマルチバイト文字対応
notfounds
0
120
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
Remix on Hono on Cloudflare Workers
yusukebe
1
300
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
340
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
Featured
See All Featured
Statistics for Hackers
jakevdp
796
220k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Done Done
chrislema
181
16k
Agile that works and the tools we love
rasmusluckow
327
21k
Practical Orchestrator
shlominoach
186
10k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Designing the Hi-DPI Web
ddemaree
280
34k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
130
Making the Leap to Tech Lead
cromwellryan
133
8.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
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 ͩΑ