Disciplined structured communications with disciplined runtime adaptation

Cinzia Di Giusto, Jorge A. Perez*

*Bijbehorende auteur voor dit werk

OnderzoeksoutputAcademicpeer review

11 Citaten (Scopus)
110 Downloads (Pure)


Session types offer a powerful type-theoretic foundation for the analysis of structured communications, as commonly found in service-oriented systems. They are defined upon core programming calculi which offer only limited support for expressing requirements related to runtime adaptation. This is unfortunate, as service-oriented systems are increasingly being deployed upon highly dynamic infrastructures in which such requirements are central concerns. In previous work, we developed a process calculi framework of adaptable processes, in which concurrent processes can be replaced, suspended, or discarded at runtime. In this paper, we propose a session type discipline for a calculus with adaptable processes. Our typed framework offers a simple alternative for integrating runtime adaptation mechanisms in the modeling and analysis of structured communications. We show that well-typed processes enjoy safety and consistency properties: while the former property ensures the absence of communication errors at runtime, the latter guarantees that active session behavior is never disrupted by adaptation actions. (C) 2014 Elsevier B.V. All rights reserved.

Originele taal-2English
Pagina's (van-tot)235-265
Aantal pagina's31
TijdschriftScience of computer programming
Nummer van het tijdschrift2
StatusPublished - 1-jan-2015

Citeer dit