Rx: treating bugs as allergies---a safe method to survive software failures
The DOI matches its Crossref record; 22 of the 22 references it cites were found in a registry or an index.
Abstract
Many applications demand availability. Unfortunately, software failures greatly reduce system availability. Prior work on surviving software failures suffers from one or more of the following limitations: Required application restructuring, inability to address deterministic software bugs, unsafe speculation on program execution, and long recovery time.This paper proposes an innovative safe technique, called Rx, which can quickly recover programs from many types of software bugs, both deterministic and non-deterministic. Our idea, inspired from allergy treatment in real life, is to rollback the program to a recent checkpoint upon a software failure, and then to re-execute the program in a modified environment. We base this idea on the observation that many bugs are correlated with the execution environment, and therefore can be avoided by removing the "allergen" from the environment. Rx requires few to no modifications to applications and provides programmers with additional feedback for bug diagnosis.We have implemented RX on Linux. Our experiments with four server applications that contain six bugs of various types show that RX can survive all the six software failures and provide transparent fast recovery within 0.017-0.16 seconds, 21-53 times faster than the whole program restart approach for all but one case (CVS). In contrast, the two tested alternatives, a whole program restart approach and a simple rollback and re-execution without environmental changes, cannot successfully recover the three servers (Squid, Apache, and CVS) that contain deterministic bugs, and have only a 40% recovery rate for the server (MySQL) that contains a non-deterministic concurrency bug. Additionally, RX's checkpointing system is lightweight, imposing small time and space overheads.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Practical Byzantine fault tolerance
Castro, M., & Liskov, B. H. (1999) · Operating Systems Design and Implementation · doi:10.5555/296806.296824 · Cited by 3,205
Proceedings of the 11th USENIX Security Symposium
Boneh, D. (2002) · Cited by 2,530
A survey of rollback-recovery protocols in message-passing systems
Elnozahy, E. N. (., Alvisi, L., Wang, Y.-M., & Johnson, D. B. (2002) · ACM Computing Surveys · doi:10.1145/568522.568525 · Cited by 1,804 · cited 3×
“The most straightforward method in this category is to checkpoint, rollback upon failures, and then re-execute either on the same machine [24, 43] or on a different machine designated as the”
BackgroundMethodStackGuard: Automatic Adaptive Detection and Prevention of Buffer-Overflow Attacks
Cowan, C., Pu, C., Maier, D., Hintony, H., Walpole, J., Bakke, P., Beattie, S., Grier, A., Wagle, P., & Zhang, Q. (1998) · PDXScholar (Portland State University) · Cited by 1,278
System structure for software fault tolerance
Randell, B. (1975) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1975.6312842 · Cited by 1,095
The N-Version Approach to Fault-Tolerant Software
Avizienis, A. (1985) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1985.231893 · Cited by 1,049 · cited 1×
“Memory-related bugs and concurrency bugs are common software defects, causing more than 60% of system vulnerabilities [16].”
Backgroundhttperf—a tool for measuring web server performance
Mosberger, D., & Jin, T. (1998) · ACM SIGMETRICS Performance Evaluation Review · doi:10.1145/306225.306235 · Cited by 828 · cited 1×
“For all the servers, we implement clients in a similar manner as previous work, such as httperf [38] or WebStone [56], sending continuous requests over concurrent connections.”
MethodOptimistic recovery in distributed systems
Strom, R., & Yemini, S. (1985) · ACM Transactions on Computer Systems · doi:10.1145/3959.3962 · Cited by 722 · cited 1×
“To deal with the output commit problem [53] (clients should perceive a consistent behavior of the server despite server failures), Rx first ensures that any previous responses sent to the client are not resent during re-execution.”
BackgroundReliability Issues in Computing System Design
Randell, B., Lee, P., & Treleaven, P. C. (1978) · ACM Computing Surveys · doi:10.1145/356725.356729 · Cited by 383 · cited 2×
“The most straightforward method in this category is to checkpoint, rollback upon failures, and then re-execute either on the same machine [24, 43] or on a different machine designated as the”
BackgroundMethodSullivan, M., & Chillarege, R. (2002) · [1991] Digest of Papers. Fault-Tolerant Computing: The Twenty-First International Symposium · doi:10.1109/ftcs.1991.146625 · Cited by 346 · cited 1×
“Our experiments with four server applications that contain six bugs of various types show that Rx can survive all the six software failures and provide transparent fast recovery within 0.017-0.16 seconds, 21-53 times faster than the whole program restart approach for all but one case (CVS).”
MethodInfluential
Cited by
Learning from mistakes: a comprehensive study on real world concurrency bug characteristics
Lu, S., Park, S., Seo, E., & Zhou, Y. (2008) · Proceedings of the 13th international conference on Architectural support for programming languages and operating systems · doi:10.1145/1346281.1346323 · Cited by 895
Self-citationDieHard: probabilistic memory safety for unsafe languages
Berger, E. D., & Zorn, B. G. (2006) · ACM SIGPLAN Notices · doi:10.1145/1133255.1134000 · Cited by 405
DieHard: probabilistic memory safety for unsafe languages
Berger, E. D., & Zorn, B. G. (2006) · Proceedings of the 27th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1133981.1134000 · Cited by 272
A randomized dynamic program analysis technique for detecting real deadlocks
Joshi, P., Park, C.-S., Sen, K., & Naik, M. (2009) · Proceedings of the 30th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1542476.1542489 · Cited by 190
“Rx [24] proposes to recover programs from software failures, including deadlocks, by rolling them back to a recent checkpoint, and re-executing the programs in a modified environment.”
BackgroundJaffal, N. O., Alkhanafseh, M., & Mohaisen, D. (2025) · AI · doi:10.3390/ai6090216 · Cited by 69
Metadata
- Authors
- Qin, F., Tucek, J., Sundaresan, J., & Zhou, Y.
- Venue
- Proceedings of the twentieth ACM symposium on Operating systems principles
- Publisher
- ACM
- Published
- 2005-10-20
- Pages
- 235-248
- OpenAlex
- W4251521742
- Cited by
- 214
- References
- 22
- FWCI
- 14.63
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Rx: treating bugs as allergies---a safe method to survive software failures. https://app.cochat.ai/papers/10.1145/1095810.1095833
- The paper
- Qin, F., Tucek, J., Sundaresan, J., & Zhou, Y. (2005). Rx: treating bugs as allergies---a safe method to survive software failures. Proceedings of the twentieth ACM symposium on Operating systems principles. https://doi.org/10.1145/1095810.1095833
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.