While mesh networking for edge settings (e.g., smart buildings, farms, battlefields, etc.) has received much attention, the layer of control over such meshes remains largely centralized and cloud-based. This paper focuses on applications with sense-trigger-actuate (STA) workloads -- these are similar to the abstraction of routines popular in smart homes, but applied to larger-scale edge IoT deployments. We present CoMesh, which tackles the challenge of building local, non-cloud, and decentralized solutions for control of sense-trigger-actuate applications. At its core CoMesh uses an abstraction called k-groups to spread in a fine-grained way, the load of STA actions. Coordination within the k-group uses selective fast and cheap mechanisms rather than expensive off-the-shelf solutions. k-group selection is proactively dynamic, and occurs by using a combination of zero-message-exchange mechanisms (to reduce load) and locality sensitive hashing (to be aware of physical layout of devices). We analyze and theoretically prove the safety of CoMesh's mechanisms. Our evaluations using both simulation and Raspberry Pi lab deployments show that CoMesh is load-balanced, fast, and fault-tolerant.
翻译:虽然边缘环境(如智能建筑、农场、战场等)的网状网络受到很大关注,但对这种模形应用的控制层在很大程度上仍然集中和以云为主。本文侧重于具有感触-触动(STA)工作量的应用程序 -- -- 这些与智能家庭流行但适用于大规模边缘IoT部署的常规做法的抽象相似。我们介绍了CoMesh,它解决了为控制感觉-触发动作应用而建设本地、非粘合和分散式解决方案的挑战。CoMesh核心使用称为 k组的抽象方法,以精细微的方式传播STA行动的负荷。K组内部的协调使用选择性的快速和廉价机制,而不是昂贵的现成解决方案。K组选择具有主动性,并且通过使用零量交换机制(减少负荷)和对地方敏感度(了解装置的物理布局)。我们分析并从理论上证明Coemshesh的堆积安全性, 以及我们使用快速的实验室,即模拟和快速的实验室,展示了Cesh-bresh-maial-emial的部署。</s>