Artigo Acesso aberto Revisado por pares

A distributed API for coordinating AbC programs

2020; Springer Science+Business Media; Volume: 22; Issue: 4 Linguagem: Inglês

10.1007/s10009-020-00553-4

ISSN

1433-2787

Autores

Yehia Abd Alrahman, Giulio Garbi,

Tópico(s)

Parallel Computing and Optimization Techniques

Resumo

Abstract 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 $$\mathcal {G}{} \textit{o}\mathcal {A}{} \textit{t}$$ G o A t , 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.

Referência(s)