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
独自Worker管理が辛い
Search
HaiTo
September 26, 2015
Programming
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
独自Worker管理が辛い
独自Worker管理が辛かったから代替案を提示してみた話
HaiTo
September 26, 2015
More Decks by HaiTo
See All by HaiTo
Form Object へ捧げる気持ち
haito
0
1.7k
管理画面再考
haito
0
270
ゾンビを倒してRuby.2.2に上げた話
haito
0
130
色々なレビューの話
haito
0
160
おしゃれっぽくターミナルでストリーミング再生をしたかった話
haito
0
140
dendai_lt_1011
haito
0
71
Other Decks in Programming
See All in Programming
Performance Optimization With LLMs
xleitix
0
110
contenteditable と日本語入力に向き合う
colorful12
0
200
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
210
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
250
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
カツオ、ご期待ください
suneo3476
0
190
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
610
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
300
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
160
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.7k
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
890
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
Navigating Team Friction
lara
192
16k
Producing Creativity
orderedlist
PRO
348
41k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
Transcript
RundeckͱDaemon-Rails HaiTo
࠷ۙ
SansanͰΤϯδχΞͯ͠Δ HaiToͰ͢
ͬͯษڧձͰൃදͩͨ͠͠ͷͰ ޙʹҾ͚ͳ͘ͳͬͨϚϯ ※TwitterͷγϞωλతͳҙຯͰ
͍͍ͩͨ͜Μͳײ͡
ࠓಈ͘σϞ͕͋Γ·͢ʂ
None
࠷ۙͷΈ • WorkerͱBatchΛཧͯ͠ΔγεςϜ͕ͳ͔ͳ͔͍͠ ߏʹͳͬͯΔ • Script͕͚ͬ͜͏ͳՕॴʹඞཁͩͬͨΓɺ͔ͦ͠ΕΛ PRग़ͯ͠Ϛʔδͯ͠Deployͯ͠…… • 1WorkerՃ͢Δͷʹ࠷3ՕॴʹPRΛग़͢ඞཁ͕͋ Δɻ(ରRepo,BatchExecutor,GeesManagement)
None
Կނͳͷ͔ • RailsͰʮWorkerϓϩηεʯΛཧ͢ΔϕετϓϥΫ ςΟεͷܽ(SidekiqʹJobಥͬࠐΊʔʂͱ͔͔ͬΓ) • ͜͜·ͰWorkerɺBatch͕૿͑Δ͜ͱΛఆ͍ͯ͠ͳ ͔ͬͨͷ͔ɺύϥϨϧʹBatch,WorkerΛىಈఀࢭ͢Δ͜ ͱͷग़དྷͳ͍Έ
ͰͲ͏͢ΕΑ͍͔ • ͪͬͱྑͦ͞͏ͳܗͰWorkerɺBatchͷىಈͱఀࢭ͕ ग़དྷΔ༷ʹͳΔͱྑͦ͞͏ɻ • ฒྻʹWorker,Batchͷىಈͱఀ(ry • WorkerΛՃͨ͠Β͋ͱWebView͔ΒWorker,Batch ͷى(ry
ඞཁͳϑΥʔε • ίϚϯυΛୟ͍ͨΒ͙͢ʹ্ཱ͕ͪΒͳͯ͘(͙͢ʹ ͞Εͳͯ͘)ɺͦͷࢮ׆͕ࢹͰ͖Δ(μʔΫαΠυ) • ผͷϓϩηε(εϨου)ʹअຐ͞ΕΔ͜ͱແ͘ɺίϚϯ υΛୟ͘͜ͱ͕ग़དྷΔ(ϥΠταΠυ)
ͳΜ͔͍͢͝Worker ͳΜ͔͍͢͝Worker ͳΜ͔͍͢͝Worker ͳΜ͔͍͢͝Worker kill kill kill kill ͋ͨ͠ΌࢮΜ͡·ͬͯ͞ ͋ͨ͠ΌࢮΜ͡·ͬͯ͞
͋ͨ͠ΌࢮΜ͡·ͬͯ͞ ͋ͨ͠Όࢮ
ͳΜ͔ͩߦ͚ͦ͏ͳؾ͕͢Δʙ
None
Rundeck • OSSͷδϣϒཧιϑτΣΞ • ϦονͳWebView͕͋Δɻ͋ͱJVMͰಈ͘ɻαΠίʔ͔ • ΘΓ͔͠Deployͱ͔ͷʮδϣϒϫʔΫϑϩʔʯཧΛߦ ͏ͨΊͷπʔϧͬΆ͍
ͳΜ͔ͩߦ͚ͦ͏ͳؾ͕͢Δʙ
None
daemon-rails
daemon-rails • lib/daemons/awesome_worker.rb • bundle exec rake daemon:awesome_worker:start • bundle
exec rake daemon:awesome_worker:stop • ͳΜ͔ͩߦ͚ͦ͏ͳؾ͕͢Δ(n)
Demo
None
None
՝ • ࠓͷWorkerͷ࣮Λશ෦࡞Γͳ͓͢ඞཁ͕͋Δ • ͑ͬ • :tori_e: • ͑ʁʁʁ
None
None
None