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
DaemonKit @ RubyKaigi 2009
Search
Kenneth Kalmer
July 18, 2009
Technology
21
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
DaemonKit @ RubyKaigi 2009
My RubyKaigi 2009 lightning talk on daemon-kit
Kenneth Kalmer
July 18, 2009
More Decks by Kenneth Kalmer
See All by Kenneth Kalmer
Reframing Single Page Apps for the Future
kennethkalmer
1
110
Make Your CI Server a Productive Team Member
kennethkalmer
2
400
Make it a team mate - Getting more from your CI (Ruby edition)
kennethkalmer
1
59
Getting more from your CI - Lightning Version
kennethkalmer
0
46
Broken Dreams and Shattered Promises
kennethkalmer
0
260
Why Ruby?
kennethkalmer
0
88
Unleashing the Rails Asset Pipeline
kennethkalmer
0
64
Reusing your frontend JS on the server with V8/Rhino
kennethkalmer
2
5.7k
Ruby - Behind the Scenes
kennethkalmer
0
35
Other Decks in Technology
See All in Technology
2026年6月23日 Syncable Tech + Start Python Club にて
hamukazu
0
150
あなたの知らないPDFのアクセシビリティ
lycorptech_jp
PRO
0
240
スタートアップにAmazon EKSは早すぎる? マルチプロダクト戦略を加速する Platform Engineeringの実践 / Is Amazon EKS Too Soon for Startups? Practical Platform Engineering to Accelerate a Multi-Product Strategy
elmodev09
1
1.7k
AWS Security Hub CSPMの成功・失敗体験
cmusudakeisuke
0
530
螺旋型キャリアの生存戦略 / kinoko-conf2026
rakus_dev
1
910
人材育成分科会.pdf
_awache
4
320
脱SaaS!FDEを支えるプロビジョニングと分離設計
knih
0
260
【セミナー資料】Claude Code をセキュアに使うための考え方と設定の勘どころ / Claude Code Webinar 20260616
masahirokawahara
2
460
現場のトークンマネジメント
dak2
1
180
秘密度ラベル初心者が第1歩でつまづかないための「設計・運用」ポイント
seafay
PRO
1
470
iOS アプリの「これって不具合ですか?」を AI に調べてもらう
miichan
0
140
SONiCで構築・運用する生成AI向けパブリッククラウドネットワーク ~実装編~
sonic
0
340
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
247
13k
Between Models and Reality
mayunak
4
350
Navigating Weather and Climate Data
rabernat
0
230
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
240
Building the Perfect Custom Keyboard
takai
2
800
The Limits of Empathy - UXLibs8
cassininazir
1
370
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
170
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
590
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
240
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Transcript
Facing your daemons
Ruby daemons are a PITA Tired of brittle daemons
? Tired of running blind ? Tired of setting up monitoring ? Tired of worrying about logging ? Tired of missing pid files ?
daemonkit http://github.com/kennethkalmer/daemon-kit Kenneth Kalmer @kennethkalmer http://opensourcery.co.za
daemonkit ? Opionated Framework for Ruby daemons Keep
things DRY Generators to help make things simple Rake tasks to help keep things simple
Multiple environments Development Be noisy, break early, break
hard Testing Staging Production Be quiet, stay alive, recover easily
Don't worry about pid files Managed for you
Infered or explicit files Great for controlling clusters Handles stale pid files
Don't worry about logging Multiple levels Syslog support
Log rotation friendly (HUP)
Don't worry about configuration Simple YAML config files
Ondemand hashes Environmentaware configuration Defaults and environment specific overrides
Don't worry about monitoring Generate monit/god configuration files via
rake
Don't worry about silent death Safety nets for threads
Hoptoad integration Exception emails Change logging levels with SIGUSR1/SIGUSER2
Generators accelarate AMQP consumer Nanite agent XMPP
bot Cron daemon Ruote remote participants $ daemon_kit mydaemon i amqp
Easy deployment Custom capistrano recipe tailored for daemons
Awaiting vlad contribution :) $ daemon_kit mydaemon d capistrano $ ./script/generate deploy_capistrano
Suitable for networking EventMachine is a dependency AMQP
uses EM Scheduler uses EM XMPP to use EM (under construction)
Looking forward RobustThread support Bundled thread/fibre pool implementation
Sys V Init script generation Bleakhouse support Privilege dropping & chroot'ing
Arigato gozaimasu ! http://github.com/kennethkalmer/daemonkit http://kit.rubyforge.org/daemon/rdoc #daemonkit on
Freenode http://opensourcery.co.za @kennethkalmer