Monitoring networks through multiparty session types

Laura Bocchi, Tzu-Chun Chen, Romain Demangeon, Kohei Honda, Nobuko Yoshida
2017 Theoretical Computer Science  
In large-scale distributed infrastructures applications are realised through communications among distributed components. Although the need for methods for assuring safe interactions in such environments, the existing frameworks relying on centralised verification or restricted specification methods have limited applicability. This paper proposes a new theory of monitored π-calculus with dynamic usage of multiparty session types (MPST), offering a rigorous foundation for safety assurance of
more » ... ty assurance of distributed components which asynchronously communicate through multiparty sessions. Our theory establishes a framework for semantically precise decentralised run-time enforcements and provides reasoning principles over monitored distributed applications, which complement existing static analysis techniques. We introduce asynchrony through the means of an explicit router and global queues, and propose novel equivalences between networks, capturing the notion of interface equivalence, i.e. equating networks offering the same services to a user. We illustrate our static-dynamic analysis system with an ATM protocol as a running example and justify our theory with results: satisfaction equivalence, local/global safety and transparency, and session fidelity.
doi:10.1016/j.tcs.2017.02.009 fatcat:4oh7r77xsvau7kjg4rtqfrgjbi