1 hour ago · 11 min read2274 words · Tech · hide

Netflix's Chaos Monkey shuts down machines at random in the production fleet. While I like the idea of finding out how a service copes with losing a machine when someone is around to watch, I can't quite bring myself to unplug a satellite running SpaceOS to see what its software does next :-) So, I'd like to know what happens when the radio link drops halfway through a transfer, or the power goes out just after my software says it has saved a file. My tests usually run on a laptop, where I can save the file a thousand times and never exercise the recovery code. I could write a test for each place I think a write might fail, but then I'd have to do it all again for the next application, with much the same disk underneath. One answer is Antithesis, which gets control of the disk, the network and the clock by running the whole operating system in a deterministic hypervisor. It can run unmodified software that way and replay the sequence of events that broke it. In MirageOS, though, I'm…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town