A Provably Correct Resilience Mediator Pattern

Mats Neovius, Mauno Rönkkö, Marina Walden

Research output: Chapter in Book/Conference proceedingChapterScientificpeer-review


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.

Original languageUndefined/Unknown
Title of host publicationFrom Action Systems to Distributed Systems - The Refinement Approach
EditorsLuigia Petre, Emil Sekerinski
PublisherCRC Press
ISBN (Electronic)978-1-4987-0159-4
ISBN (Print)978-1-4987-0158-7
Publication statusPublished - 2016
MoE publication typeA3 Part of a book or another research book

Cite this