Aspect-oriented implementation of fault tolerance: an assessment of overhead

  • Authors:
  • Ruben Alexandersson;Peter Öhman;Johan Karlsson

  • Affiliations:
  • Deptartment of Computer Science and Engineering, Chalmers University of Technology, Goteborg, Sweden;Deptartment of Computer Science and Engineering, Chalmers University of Technology, Goteborg, Sweden;Deptartment of Computer Science and Engineering, Chalmers University of Technology, Goteborg, Sweden

  • Venue:
  • SAFECOMP'10 Proceedings of the 29th international conference on Computer safety, reliability, and security
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Software-implemented fault tolerance is an attractive technique for constructing fail-safe and fault-tolerant processing nodes for road vehicles and other cost-sensitive applications. This paper investigates the memory consumption and execution time overhead obtained when implementing time-redundant execution and control flow checking in software for an automotive brake controller application. These two mechanisms were implemented at the source code level using three implementations techniques: aspect-oriented programming (AOP), source code transformation and manual programming in C. The results show that AOP generates much higher overheads than code transformation for strictly systematic implementations. On the other hand, when application knowledge is used to optimize the implementations, the overhead of AOP is similar to that of manual programming in C.