Daemon Kit - RubyKaigi 2009

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    3 Favorites

    Daemon Kit - RubyKaigi 2009 - Presentation Transcript

    1. Facing your daemons    
    2. 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 ?    
    3. daemon­kit http://github.com/kennethkalmer/daemon-kit Kenneth Kalmer @kennethkalmer http://opensourcery.co.za    
    4. daemon­kit ?  Opionated Framework for Ruby daemons  Keep things DRY  Generators to help make things simple  Rake tasks to help keep things simple    
    5. Multiple environments  Development  Be noisy, break early, break hard  Testing  Staging  Production  Be quiet, stay alive, recover easily    
    6. Don't worry about pid files  Managed for you  Infered or explicit files  Great for controlling clusters  Handles stale pid files    
    7. Don't worry about logging  Multiple levels  Syslog support  Log rotation friendly (HUP)    
    8. Don't worry about configuration  Simple YAML config files  On­demand hashes  Environment­aware configuration  Defaults and environment specific overrides    
    9. Don't worry about monitoring  Generate monit/god configuration files via rake    
    10. Don't worry about silent death  Safety nets for threads  Hoptoad integration  Exception emails  Change logging levels with SIGUSR1/SIGUSER2    
    11. Generators accelarate  AMQP consumer  Nanite agent  XMPP bot  Cron daemon  Ruote remote participants   $ daemon_kit mydaemon ­i amqp    
    12. Easy deployment  Custom capistrano recipe tailored for daemons  Awaiting vlad contribution :)   $ daemon_kit mydaemon ­d capistrano  $ ./script/generate deploy_capistrano    
    13. Suitable for networking  EventMachine is a dependency  AMQP uses EM  Scheduler uses EM  XMPP to use EM (under construction)    
    14. Looking forward  RobustThread support  Bundled thread/fibre pool implementation  Sys V Init script generation  Bleakhouse support  Privilege dropping & chroot'ing    
    15. Arigato gozaimasu !  http://github.com/kennethkalmer/daemon­kit  http://kit.rubyforge.org/daemon/rdoc  #daemon­kit on Freenode   http://opensourcery.co.za  @kennethkalmer    
    SlideShare Zeitgeist 2009

    + Kenneth KalmerKenneth Kalmer Nominate

    custom

    744 views, 3 favs, 2 embeds more stats

    My RubyKaigi 2009 lightning talk on daemon-kit

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 744
      • 600 on SlideShare
      • 144 from embeds
    • Comments 0
    • Favorites 3
    • Downloads 9
    Most viewed embeds
    • 143 views on http://www.opensourcery.co.za
    • 1 views on http://feeds.feedburner.com

    more

    All embeds
    • 143 views on http://www.opensourcery.co.za
    • 1 views on http://feeds.feedburner.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories