A Provably Correct Resilience Mediator Pattern

A3 Book section, Chapters in research books

Internal Authors/Editors

Publication Details

List of Authors: Mats Neovius, Mauno Rönkkö, Marina Waldén
Editors: Luigia Petre, Emil Sekerinski
Publisher: Taylor & Francis
Publication year: 2016
Publisher: CRC Press
Book title: From Action Systems to Distributed Systems - The Refinement Approach
Title of series: Computational Science Series
Start page: 125
End page: 139
ISBN: 978-1-4987-0158-7
eISBN: 978-1-4987-0159-4


The computational processes that manifest as systems are getting ever more complex. Interconnecting several similar autonomous systems to a system of systems is frequent, e.g. manufacturers’ autonomous products are integrated to a home automation system. Traditionally, the approach for this problem has been abstraction of the details and thus, chiseling and gluing the bits and pieces together. This has been done by declaring interfaces or by using formal methods. The former declares accessibility whereas the latter may be used to gain a rigorous mathematical-logical view on the complexity and for the ability to reason on this with a set of logical rules. On top of these views, the mediator pattern is defined to provide a reusable solution for a recurring general problem. The mediator pattern encapsulates interaction between a set of autonomous systems with the intension to ease maintenance and refactoring. In this chapter, we formally integrate the mediator pattern in a correct-by-construction manner in the Action Systems formalism. The con- tribution is in introducing the mediator on an abstract level to a contemporary distributed system as a correctness preserving refinement step. In this setting, the mediator may then be further refined to provide an isolated placeholder for introduction of domain specific intelligent resilience addressing possible issues of inconsistency.

Last updated on 2020-14-07 at 04:51