Session Types with Runtime Adaptation: Overview and Examples

In recent work, we have developed a session types discipline for a calculus that features the usual constructs for session establishment and communication, but also two novel constructs that enable communicating processes to be stopped, duplicated, or discarded at runtime. The aim is to understand w...

Full description

Bibliographic Details
Main Authors: Cinzia Di Giusto, Jorge A. Pérez
Format: Article
Language:English
Published: Open Publishing Association 2013-12-01
Series:Electronic Proceedings in Theoretical Computer Science
Online Access:http://arxiv.org/pdf/1312.2699v1
id doaj-b073a1c8410c44eaad44791747d3a047
record_format Article
spelling doaj-b073a1c8410c44eaad44791747d3a0472020-11-24T22:20:56ZengOpen Publishing AssociationElectronic Proceedings in Theoretical Computer Science2075-21802013-12-01137Proc. PLACES 2013213210.4204/EPTCS.137.3:15Session Types with Runtime Adaptation: Overview and ExamplesCinzia Di GiustoJorge A. PérezIn recent work, we have developed a session types discipline for a calculus that features the usual constructs for session establishment and communication, but also two novel constructs that enable communicating processes to be stopped, duplicated, or discarded at runtime. The aim is to understand whether known techniques for the static analysis of structured communications scale up to the challenging context of context-aware, adaptable distributed systems, in which disciplined interaction and runtime adaptation are intertwined concerns. In this short note, we summarize the main features of our session-typed framework with runtime adaptation, and recall its basic correctness properties. We illustrate our framework by means of examples. In particular, we present a session representation of supervision trees, a mechanism for enforcing fault-tolerant applications in the Erlang language.http://arxiv.org/pdf/1312.2699v1
collection DOAJ
language English
format Article
sources DOAJ
author Cinzia Di Giusto
Jorge A. Pérez
spellingShingle Cinzia Di Giusto
Jorge A. Pérez
Session Types with Runtime Adaptation: Overview and Examples
Electronic Proceedings in Theoretical Computer Science
author_facet Cinzia Di Giusto
Jorge A. Pérez
author_sort Cinzia Di Giusto
title Session Types with Runtime Adaptation: Overview and Examples
title_short Session Types with Runtime Adaptation: Overview and Examples
title_full Session Types with Runtime Adaptation: Overview and Examples
title_fullStr Session Types with Runtime Adaptation: Overview and Examples
title_full_unstemmed Session Types with Runtime Adaptation: Overview and Examples
title_sort session types with runtime adaptation: overview and examples
publisher Open Publishing Association
series Electronic Proceedings in Theoretical Computer Science
issn 2075-2180
publishDate 2013-12-01
description In recent work, we have developed a session types discipline for a calculus that features the usual constructs for session establishment and communication, but also two novel constructs that enable communicating processes to be stopped, duplicated, or discarded at runtime. The aim is to understand whether known techniques for the static analysis of structured communications scale up to the challenging context of context-aware, adaptable distributed systems, in which disciplined interaction and runtime adaptation are intertwined concerns. In this short note, we summarize the main features of our session-typed framework with runtime adaptation, and recall its basic correctness properties. We illustrate our framework by means of examples. In particular, we present a session representation of supervision trees, a mechanism for enforcing fault-tolerant applications in the Erlang language.
url http://arxiv.org/pdf/1312.2699v1
work_keys_str_mv AT cinziadigiusto sessiontypeswithruntimeadaptationoverviewandexamples
AT jorgeaperez sessiontypeswithruntimeadaptationoverviewandexamples
_version_ 1725773148665675776