Danilo Pianini, Roberto Casadei, Mirko Viroli, S. Mariani, F. Zambonelli
{"title":"通过可编程分布式调度器实现基于时间流场的协调","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":"{\"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}","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}
Time-Fluid Field-Based Coordination through Programmable Distributed Schedulers
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.