Practical interruptible conversations: Distributed Dynamic Verification with Session Types and Python - Archive ouverte HAL
Communication Dans Un Congrès Année : 2013

Practical interruptible conversations: Distributed Dynamic Verification with Session Types and Python

Romain Demangeon
  • Fonction : Auteur
  • PersonId : 965999
Raymond Hu
  • Fonction : Auteur
Rumyana Neykova
  • Fonction : Auteur
Nobuko Yoshida
  • Fonction : Auteur

Résumé

The rigorous and comprehensive verification of communication-based software is an important engineering challenge in distributed systems. Drawn from our industrial collaborations [33,28] on Scribble, a choreography description language based on multiparty session types, this paper proposes a dynamic verification framework for structured interruptible conversation programming. We first present our extension of Scribble to support the specification of asynchronously interruptible conversations. We then implement a concise API for conversation programming with interrupts in Python that enables session types properties to be dynamically verified for distributed processes. Our framework ensures the global safety of a system in the presence of asynchronous interrupts through independent runtime monitoring of each endpoint, checking the conformance of the local execution trace to the specified protocol. The usability of our framework for describing and verifying choreographic communications has been tested by integration into the large scientific cyberinfrastructure developed by the Ocean Observatories Initiative. Asynchronous interrupts have proven expressive enough to represent and verify their main classes of communication patterns, including asynchronous streaming and various timeout-based protocols, without requiring additional synchronisation mechanisms. Benchmarks show conversation programming and monitoring can be realised with little overhead.

Dates et versions

hal-01214669 , version 1 (12-10-2015)

Identifiants

Citer

Romain Demangeon, Raymond Hu, Rumyana Neykova, Nobuko Yoshida. Practical interruptible conversations: Distributed Dynamic Verification with Session Types and Python. 4th International Conference, RV 2013, Sep 2013, Rennes, France. pp.130-148, ⟨10.1007/978-3-642-40787-1_8⟩. ⟨hal-01214669⟩
59 Consultations
0 Téléchargements

Altmetric

Partager

More