Time-Fluid Field-Based Coordination through Programmable Distributed Schedulers

Danilo Pianini, Roberto Casadei, Mirko Viroli, S. Mariani, F. Zambonelli
{"title":"Time-Fluid Field-Based Coordination through Programmable Distributed Schedulers","authors":"Danilo Pianini, Roberto Casadei, Mirko Viroli, S. Mariani, F. Zambonelli","doi":"10.46298/lmcs-17(4:13)2021","DOIUrl":null,"url":null,"abstract":"Emerging application scenarios, such as cyber-physical systems (CPSs), the\nInternet of Things (IoT), and edge computing, call for coordination approaches\naddressing openness, self-adaptation, heterogeneity, and deployment\nagnosticism. Field-based coordination is one such approach, promoting the idea\nof programming system coordination declaratively from a global perspective, in\nterms of functional manipulation and evolution in \"space and time\" of\ndistributed data structures called fields. More specifically regarding time, in\nfield-based coordination (as in many other distributed approaches to\ncoordination) it is assumed that local activities in each device are regulated\nby a fair and unsynchronised fixed clock working at the platform level. In this\nwork, we challenge this assumption, and propose an alternative approach where\nscheduling is programmed in a natural way (along with usual field-based\ncoordination) in terms of causality fields, each enacting a programmable\ndistributed notion of a computation \"cause\" (why and when a field computation\nhas to be locally computed) and how it should change across time and space.\nStarting from low-level platform triggers, such causality fields can be\norganised into multiple layers, up to high-level, collectively-computed time\nabstractions, to be used at the application level. This reinterpretation of\ntime in terms of articulated causality relations allows us to express what we\ncall \"time-fluid\" coordination, where scheduling can be finely tuned so as to\nselect the triggers to react to, generally allowing to adaptively balance\nperformance (system reactivity) and cost (resource usage) of computations. We\nformalise the proposed scheduling framework for field-based coordination in the\ncontext of the field calculus, discuss an implementation in the aggregate\ncomputing framework, and finally evaluate the approach via simulation on\nseveral case studies.","PeriodicalId":314387,"journal":{"name":"Log. Methods Comput. Sci.","volume":"48 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-12-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"13","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Log. Methods Comput. Sci.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.46298/lmcs-17(4:13)2021","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 13

Abstract

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.
通过可编程分布式调度器实现基于时间流场的协调
网络物理系统(CPS)、物联网(IoT)和边缘计算等新兴应用场景需要协调方法来解决开放性、自适应、异构性和部署无关性等问题。基于字段的协调就是这样一种方法,它提倡从全局角度出发,通过对称为字段的分布式数据结构在 "空间和时间 "上进行功能操作和演化,以声明方式对系统协调进行编程。更具体地说,在时间方面,基于字段的协调(与许多其他分布式协调方法一样)假定每个设备中的本地活动都由一个在平台级工作的公平且不同步的固定时钟来调节。在这项工作中,我们对这一假设提出了质疑,并提出了另一种方法,即根据因果关系场,以自然的方式对调度进行编程(以及通常的基于场的协调),每个因果关系场都制定了计算 "原因 "的编程分布式概念(为什么以及何时必须在本地进行场计算),以及它应该如何在时间和空间上发生变化。从低级平台触发器开始,这种因果关系字段可以组织成多个层次,直至高级的、集体计算的时间抽象,以便在应用层使用。这种对时间因果关系的重新诠释,使我们能够表达我们称之为 "时间流 "的协调,在这种协调中,调度可以进行微调,以便选择要做出反应的触发器,从而自适应地平衡计算的性能(系统反应能力)和成本(资源使用)。我们将所提出的基于场微积分的场协调调度框架形式化,讨论了聚合计算框架中的实现,最后通过对多个案例研究的仿真对该方法进行了评估。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信