Testing Asynchronous Systems, Part 2: A Taxonomy of Failure, Detection, and Mitigation
Having mapped the system and classified its asynchrony, it's time to move on to the failures that we can expect, their detection, and mitigation. This is the technical core of the article. Ideally, a comprehensive test suite walks every cell of the taxonomy below for every component and network pair in the system map, rather than enumerating failures ad hoc. Safety and Liveness: The Two Properties Behind Everything That Follows The notion of the correct software is notoriously fuzzy: obviously, a system is correct if it does what it is supposed to do. However, this gives no objective criteria for determining whether a system is correct. We need to be able to think rigorously about the
…