Time-Fluid Field-Based Coordination through Programmable Distributed Schedulers

12/26/2020
by   Danilo Pianini, et al.
0

Emerging application scenarios, such as cyber-physical systems (CPSs), the Internet of Things (IoT), and edge computing, call for coordination approaches addressing openness, self-adaptation, heterogeneity, and deployment agnosticism. Field-based coordination is one such approach, promoting the idea of programming system coordination declaratively from a global perspective, in terms of functional manipulation and evolution in "space and time" of distributed data structures called fields. More specifically regarding time, in field-based coordination (as in many other distributed approaches to coordination) it is assumed that local activities in each device are regulated by a fair and unsynchronised fixed clock working at the platform level. In this work, we challenge this assumption, and propose an alternative approach where scheduling is programmed in a natural way (along with usual field-based coordination) in terms of causality fields, each enacting a programmable distributed notion of a computation "cause" (why and when a field computation has to be locally computed) and how it should change across time and space. Starting from low-level platform triggers, such causality fields can be organised into multiple layers, up to high-level, collectively-computed time abstractions, to be used at the application level. This reinterpretation of time in terms of articulated causality relations allows us to express what we call "time-fluid" coordination, where scheduling can be finely tuned so as to select the triggers to react to, generally allowing to adaptively balance performance (system reactivity) and cost (resource usage) of computations. We formalise the proposed scheduling framework for field-based coordination in the context of the field calculus, discuss an implementation in the aggregate computing framework, and finally evaluate the approach via simulation on several case studies.

READ FULL TEXT

page 25

page 26

page 28

page 30

page 36

page 37

research
12/15/2020

Computation Against a Neighbour

Recent works in contexts like the Internet of Things (IoT) and large-sca...
research
10/07/2019

Field-based Coordination with the Share Operator

Field-based coordination has been proposed as a model for coordinating c...
research
10/31/2022

Space-fluid Adaptive Sampling by Self-Organisation

A recurrent task in coordinated systems is managing (estimating, predict...
research
02/06/2018

Aggregate Graph Statistics

Collecting statistic from graph-based data is an increasingly studied to...
research
09/16/2021

BuDDI: A Declarative Bloom Language for CALM Programming

Coordination protocols help programmers of distributed systems reason ab...
research
02/07/2023

A Tightly Coupled Bi-Level Coordination Framework for CAVs at Road Intersections

Since the traffic administration at road intersections determines the ca...
research
04/09/2020

DCO Analyzer: Local Controllability and Observability Analysis and Enforcement of Distributed Test Scenarios

To ensure interoperability and the correct behavior of heterogeneous dis...

Please sign up or login with your details

Forgot password? Click here to reset