arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.11212cs.DCcs.AIcs.MAcs.PL
收藏

在交换演算中编程分布式集体过程

Programming Distributed Collective Processes in the eXchange Calculus

Università di Torino(都灵大学);Alma Mater Studiorum—Università di Bologna(博洛尼亚大学)

Giorgio Audrito, Roberto Casadei, Ferruccio Damiani, Gianluca Torta, Mirko Viroli

AI总结:

针对物联网设备集体自适应编程难题,提出基于交换演算的分布式集体过程抽象,统一整体形成与任务,经案例验证适用于分布式计算。

摘要:

物联网(IoT)等近期趋势预示了一种愿景:在几乎所有类型的环境中,计算设备进行密集且多尺度的部署。一个突出的工程挑战围绕着如何编程此类计算生态系统的集体自适应行为。这需要能够捕获诸如整体(动态协作设备组)和集体任务(由整体执行的联合活动)等概念的抽象。在这项工作中,我们考虑与邻居交互并执行近乎同步的感知-计算-交互轮次的设备集合,其中计算由单个程序给出,该程序将感知值和传入消息映射到输出和传出消息。为了支持对整个计算集体的编程,我们提出了分布式集体过程的抽象,该抽象可用于同时定义整体形成逻辑及其集体任务。我们在交换演算(XC)中形式化了该抽象,XC是一种基于邻居值(从邻居到值的映射)的核心函数式语言,其中状态和交互通过单个原语exchange处理,并在FCPP语言中提供了相应的实现。然后,我们通过两个案例研究来实践分布式集体过程:多跳消息传播和空间属性的分布式监控。最后,我们讨论了该抽象的特性及其对不同类型分布式计算应用的适用性。

英文摘要:

Recent trends like the Internet of Things (IoT) suggest a vision of dense and multi-scale deployments of computing devices in nearly all kinds of environments. A prominent engineering challenge revolves around programming the collective adaptive behaviour of such computational ecosystems. This requires abstractions able to capture concepts like ensembles (dynamic groups of cooperating devices) and collective tasks (joint activities carried out by ensembles). In this work, we consider collections of devices interacting with neighbours and that execute in nearly-synchronised sense-compute-interact rounds, where the computation is given by a single program mapping sensing values and incoming messages to output and outcoming messages. To support programming whole computational collectives, we propose the abstraction of a distributed collective process, which can be used to define at once the ensemble formation logic and its collective task. We formalise the abstraction in the eXchange Calculus (XC), a core functional language based on neighbouring values (maps from neighbours to values) where state and interaction is handled through a single primitive, exchange, and provide a corresponding implementation in the FCPP language. Then, we exercise distributed collective processes using two case studies: multi-hop message propagation and distributed monitoring of spatial properties. Finally, we discuss the features of the abstraction and its suitability for different kinds of distributed computing applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑