Design and verification of long-running transactions in a timed framework

  • Authors:
  • Ruggero Lanotte;Andrea Maggiolo-Schettini;Paolo Milazzo;Angelo Troina

  • Affiliations:
  • Dipartimento di Scienze della Cultura, Politiche e dellInformazione - Università dellInsubria, Via Carloni 78, 22100 - Como, Italy;Dipartimento di Informatica - Università di Pisa, Largo Pontecorvo 3, 56127 - Pisa, Italy;Dipartimento di Informatica - Università di Pisa, Largo Pontecorvo 3, 56127 - Pisa, Italy;Dipartimento di Informatica - Università di Torino, Corso Svizzera 185, 10149 - Torino, Italy

  • Venue:
  • Science of Computer Programming
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Long-running transactions consist of tasks which may be executed sequentially and in parallel, may contain subtasks, and may require to be completed before a deadline. These transactions are not atomic and, in case of executions which cannot be completed, a compensation mechanism must be provided. In this paper we develop a model of Communicating Hierarchical Timed Automata suitable to describe the mentioned aspects in a framework where also time is taken into account. We develop the patterns for composing long-running transactions sequentially, in parallel or by nesting. The correct compensation of a composed long-running transaction is preserved by these composition patterns. The automaton-theoretic approach allows the verification of properties by model checking. As a case study, we model and analyse an example of e-commerce application described in terms of long-running transactions.