Find in Library
Search millions of books, articles, and more
Indexed Open Access Databases
Timed Runtime Monitoring for Multiparty Conversations
oleh: Rumyana Neykova, Laura Bocchi, Nobuko Yoshida
Format: | Article |
---|---|
Diterbitkan: | Open Publishing Association 2014-08-01 |
Deskripsi
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, 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 constraining the times in which interactions should 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. The performance of our implementation and its practicability are analysed via benchmarking.