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
DaemonKit @ RubyKaigi 2009
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kenneth Kalmer
July 18, 2009
Technology
22
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
120
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
67
Getting more from your CI - Lightning Version
kennethkalmer
0
55
Broken Dreams and Shattered Promises
kennethkalmer
0
270
Why Ruby?
kennethkalmer
0
90
Unleashing the Rails Asset Pipeline
kennethkalmer
0
69
Reusing your frontend JS on the server with V8/Rhino
kennethkalmer
2
5.7k
Ruby - Behind the Scenes
kennethkalmer
0
38
Other Decks in Technology
See All in Technology
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
190
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
250
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
160
分析AIエージェントを育てる、動く環境を育てる
codatum
1
1.1k
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
170
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
260
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
4
1.1k
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
150
Getting Started with Google Antigravity
glaforge
0
300
Optunaの最新リリースv5.0について
pfn
PRO
0
120
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
550
A Soul's Torment
seathinner
8
3.8k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Done Done
chrislema
187
17k
Music & Morning Musume
bryan
48
7.4k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
560
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
ラッコキーワード サービス紹介資料
rakko
1
5.3M
Tell your own story through comics
letsgokoyo
1
1.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
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