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
0
11
DaemonKit @ RubyKaigi 2009
My RubyKaigi 2009 lightning talk on daemon-kit
Kenneth Kalmer
July 18, 2009
Tweet
Share
More Decks by Kenneth Kalmer
See All by Kenneth Kalmer
Reframing Single Page Apps for the Future
kennethkalmer
1
90
Make Your CI Server a Productive Team Member
kennethkalmer
2
380
Make it a team mate - Getting more from your CI (Ruby edition)
kennethkalmer
1
44
Getting more from your CI - Lightning Version
kennethkalmer
0
28
Broken Dreams and Shattered Promises
kennethkalmer
0
230
Why Ruby?
kennethkalmer
0
68
Unleashing the Rails Asset Pipeline
kennethkalmer
0
49
Reusing your frontend JS on the server with V8/Rhino
kennethkalmer
2
5.5k
Ruby - Behind the Scenes
kennethkalmer
0
17
Other Decks in Technology
See All in Technology
成長をサポートするピープルマネジメントのやり方
sioncojp
9
1.3k
地理空間データ可視化・解析・活用ソリューション Pacific Spatial Solutions (PSS)
pacificspatialsolutions
0
340
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
150
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.4k
One engineer company with Ruby on Rails
rstankov
2
440
実例で紹介するRAG導入時の知見と精度向上の勘所
yamahiro
5
1.9k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
5
37k
LLM開発・活用の舞台裏@2024.04.25
yushin_n
3
1.3k
How to Lead? Testimonial of a Lead Android Engineer
oleur
1
120
今日からできる!簡単 .NET 高速化 Tips -2024 edition-
xin9le
7
4.4k
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
0
1.8k
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
280
Featured
See All Featured
Statistics for Hackers
jakevdp
790
220k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
The Pragmatic Product Professional
lauravandoore
26
5.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
21
1.9k
Building an army of robots
kneath
300
41k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Why Our Code Smells
bkeepers
PRO
331
56k
Creatively Recalculating Your Daily Design Routine
revolveconf
211
11k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
126
32k
What's new in Ruby 2.0
geeforr
337
31k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
22
1.4k
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