Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to be Happy: Even When Your Sysadmin Knows Where You Live

How to be Happy: Even When Your Sysadmin Knows Where You Live

It's hard to be happy. It's easier when you write software that doesn't give your sysadmin reason to arrive at your doorstep at 3am. Here's how.

More Decks by Joseph Anthony Pasquale Holsten

Other Decks in Technology

Transcript

  1. have you ever? • set up a home server? •

    had the hard drive go corrupt? • had an update introduce errors? • had a dependency conflict when installing? • had it become mysteriously slow?
  2. services • foreman • process manager upstart, systemd, smf, runit

    • process monitoring god, bluepill, monit
  3. zero downtime restarts • socket handover unicorn, rainbows, passenger 3

    • proxy drain haproxy • stop requesting new jobs resque
  4. #!/usr/bin/env ruby # trapper - demo ^C (SIGINT) handler !

    trap('INT') { puts 'Got SIGINT'; exit } ! while true; end # loop