3 ms·
Wish I had thought of chaos monkey, much cooler than whatever I called my version of it. A few years ago I built an automated test system in perl, complete wit
by jdrobins2000 13y ago
Wish I had thought of chaos monkey, much cooler than whatever I called my version of it.
A few years ago I built an automated test system in perl, complete with message bus and message listener container for running tasks on various servers. One of the automated tests I wrote had a component that would periodically (at random intervals) kill processes, unmount shared filesystems, offline interfaces, etc. to cause failovers, to verify that all processes and resources were failed over, and all tasks were reassigned to other nodes and no jobs were dropped or stalled.
It is really the only way to ensure you've covered your bases - beating the shit out of your system repetitively. It uncovered a bunch of big holes and some very obscure ones too, and once we got those fixed it ran pretty much flawlessly.