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
93
正しく失敗しながら進むプロダクト開発/railsdm2018
ryopeko
10
5.8k
CircleCI を使って自動(ほぼ)でセキュリティアップデート / circleci meetup
ryopeko
4
500
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.5k
自分の道具を知る
ryopeko
10
2.1k
Other Decks in Programming
See All in Programming
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
190
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
テストケースの名前はどうつけるべきか?
orgachem
PRO
0
140
MCP with Cloudflare Workers
yusukebe
2
220
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
790
Effective Signals in Angular 19+: Rules and Helpers
manfredsteyer
PRO
0
110
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
810
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
390
Amazon S3 NYJavaSIG 2024-12-12
sullis
0
100
ドメインイベント増えすぎ問題
h0r15h0
2
340
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
180
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Speed Design
sergeychernyshev
25
670
Unsuck your backbone
ammeep
669
57k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
A Tale of Four Properties
chriscoyier
157
23k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Become a Pro
speakerdeck
PRO
26
5k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Mobile First: as difficult as doing things right
swwweet
222
9k
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 ͩΑ