DocumentCode
3209248
Title
CURRF: A Code-Based Framework for Faithful Replay Distributed Applications
Author
Wang, Nan ; Han, Jizhong ; Zhou, Yonghao ; Fang, Jinyun
Author_Institution
Inst. of Comput. Technol., Chinese Acad. of Sci., Beijing, China
fYear
2009
fDate
17-19 Dec. 2009
Firstpage
308
Lastpage
316
Abstract
Debugging distributed system is programmer´s nightmare be-cause of non-determinism bugs. Those non-repeatable bugs force developers back to the outdated and time consuming techniques such as printf and log mining for investigation. To relieve this issue, record and replay mechanisms have been proposed. These methods allow developers use their cyclic debug skill in non-deterministic situations. In this pa-per, we present the design and implementation of CURRF: a code-based, fully user-space light-weighted record and replay framework. In CURRF, developers can easily re-play individual processes in a large-scaled distributed system without touching other components. It achieves this goal by introducing a code annotation mechanism. Programmers can write the annotations in the source code and notify the logger for the critical non-deterministic operations. CURRF is much more flexible and easier to use than previous record and replay solutions such as R2. In this paper, we demonstrate the efficiency and usefulness of CURRF for new applications as well as legacy programs. The experiment results show that CURRF introduces very little interference when the program is running in debugging mode.
Keywords
distributed processing; program debugging; software maintenance; CURRF; code annotation mechanism; code based fully user-space light-weighted record and replay framework; cyclic debug; distributed system debugging; large-scaled distributed system; log mining; source code; Application software; Computer bugs; Computer science; Debugging; Heart; Information technology; Interference; Job shop scheduling; Programming profession; Software testing; Debug; cluster; distributed system;
fLanguage
English
Publisher
ieee
Conference_Titel
Frontier of Computer Science and Technology, 2009. FCST '09. Fourth International Conference on
Conference_Location
Shanghai
Print_ISBN
978-0-7695-3932-4
Electronic_ISBN
978-1-4244-5467-9
Type
conf
DOI
10.1109/FCST.2009.11
Filename
5392900
Link To Document