Talk given at OSCON Austin, TX (2016) about how PagerDuty has been injecting failure into its production systems manually with minimal effort and started automating failures.
in order to build confidence in the system’s capability to withstand turbulent conditions in production.” Principles of Chaos Engineering http://principlesofchaos.org #OSCON
'suspend unicorn[master] immediately' do members hosts execute 'sudo kill -s STOP `cat /u/.../pids/unicorn.pid`' end end def recipe__unicorn_resume_master(hosts) ssh_task 'resume unicorn[master] immediately' do members hosts execute 'sudo kill -s CONT `cat /u/.../pids/unicorn.pid`' end end
using tc' do members hosts execute 'sudo tc qdisc add dev eth0 root netem delay 500ms 100ms loss 20%' end end def recipe__tc_remove_latency(hosts) ssh_task 'remove network latency using tc' do members hosts execute 'sudo tc qdisc del dev eth0 root netem' end end
be automated and used to monitor ongoing health of the system. New experiments should be devised to continue to push the bounds of the system.” Culture From Chaos by @dougbarth https://speakerdeck.com/dougbarth/culture-from-chaos