A distributed API for coordinating AbC programs
Journal article, 2020

Collective adaptive systems exhibit a particular notion of interaction where environmental conditions largely influence interactions. Previously, we proposed a calculus, named AbC, to model and reason about CAS. The calculus proved to be effective by naturally modelling essential CAS features. However, the question on the tradeoff between its expressiveness and its efficiency, when implemented to program CAS applications, is to be answered. In this article, we propose an efficient and distributed coordination infrastructure for AbC. We prove its correctness, and we evaluate its performance. The main novelty of our approach is that AbC components are infrastructure agnostic. Thus the code of a component does not specify how messages are routed in the infrastructure but rather what properties a target component must satisfy. We also developed a Go API, named GoAt, and an Eclipse plugin to program in a high-level syntax which can be automatically used to generate matching Go code. We showcase our development through a non-trivial case study.

Attribute-based interaction

Process calculi

Programming API

Semantics

Author

Yehia Abd Alrahman

University of Gothenburg

Giulio Garbi

IMT School for Advanced Studies

International Journal on Software Tools for Technology Transfer

1433-2779 (ISSN) 1433-2787 (eISSN)

Vol. 22 4 477-496

Subject Categories

Embedded Systems

Computer Science

Computer Systems

DOI

10.1007/s10009-020-00553-4

More information

Latest update

2/19/2021