Skip to main content
Kent Academic Repository

Timed Runtime Monitoring for Multiparty Conversations

Neykova, Rumyana, Bocchi, Laura, Yoshida, Nobuko (2017) Timed Runtime Monitoring for Multiparty Conversations. Formal Aspects of Computing, 29 (5). pp. 877-910. ISSN 0934-5043. E-ISSN 1433-299X. (doi:10.1007/s00165-017-0420-8) (KAR id:60506)

Abstract

We propose a dynamic verification framework for protocols in real-time distributed systems. The framework is based on Scribble, a tool-chain for design and verification of choreographies based on multiparty session types, which we have developed with our industrial partners. Drawing from recent work on multiparty session types for real-time interactions, we extend Scribble with clocks, resets, and clock predicates in order to constrain the times in which interactions occur. We present a timed API for Python to program distributed implementations of Scribble specifications. A dynamic verification framework ensures the safe execution of applications written with our timed API: we have implemented dedicated runtime monitors that check that each interaction occurs at a correct timing with respect to the corresponding Scribble specification. To demonstrate the practicality of the proposed framework, we express and verify four categories of widely used temporal patterns from use cases in literature. We analyse the performance of our implementation via benchmarking and show negligible overhead.

Item Type: Article
DOI/Identification number: 10.1007/s00165-017-0420-8
Uncontrolled keywords: Session types; Protocols; Real time; Runtime monitoring; Verification; Scribble
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Depositing User: Laura Bocchi
Date Deposited: 22 Feb 2017 10:32 UTC
Last Modified: 04 Mar 2024 19:58 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/60506 (The current URI for this page, for reference purposes)

University of Kent Author Information

  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.