Font Size: a A A

Research Of Software Checkpoint And Recovery Techniques Based On Aspect-oriented Programming

Posted on:2016-04-22Degree:MasterType:Thesis
Country:ChinaCandidate:S C ZhangFull Text:PDF
GTID:2308330473955044Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the increment of cluster scale of computer, the Fail-Stop Failure is also increasing in application software. Thus how to develop the survivability, quick recovery capability of the software and make it continue to provide service when the suspension occurs is becoming a challenge which should be solved urgently.Checkpoint and recovery technology is an effective guarantee for software survivability. Due to better portability and ease of implementation, application-level checkpoint has been widely used, and it is achieved by inserting checkpoint code in the source code. However, this method can cause source changes and confuse the source code with the embedded code,which may impact the readability and cohesion of the code. How to maintain the readability,cohesion and integrity of the code while implementing the checkpoint and recovery technology is a big challenge. The aspect-oriented programming(AOP) can add checkpoint and recovery functions to application without modifying the source code by pre-compilation and run-time dynamic proxy, which solves the problem of the confused code effectively.Based on the in-depth research, analysis of aspect-oriented programming, checkpoint and recovery technology, this paper proposes the AOP-based Software Checkpoint and Recovery Technical Solution(ASCRTS). ASCRTS treats checkpoint and recovery tasks as crosscutting concerns of application and the software status as a set of independent objects state, and it realizes checkpoint and recovery functions with AOP. ASCRTS greatly simplify the process of preservation and restoration by using java serialization and de-serialization mechanisms. This paper describes the details of checkpoint setting, checkpoint file acquisition and failure recovery of the ASCRTS. The architecture and modules of the ASCRTS is designed and implemented.According to the characteristics of distributed software operating environment, this article introduces the Distributed-ASCRTS(D-ASCRTS). D-ASCRTS combines the status consistency detecting and controlling of software with the ASCRTS, which makes the application-level software checkpoint and recovery of the distributed software available. We introduces the details of checkpoint setting, checkpoint file acquisition and failure recovery of the D-ASCRTS in this article. Besides, the architecture and modules of the D-ASCRTS is designed and implemented.Finally, the program examples demonstrate the effectiveness of the proposed solutions. This paper shows that software checkpoint and recovery techniques based on aspect-oriented programming are feasible.
Keywords/Search Tags:software survivability, aspect-oriented programming(AOP), checkpoint, failure recovery, object serialization
PDF Full Text Request
Related items