# CoMesh: Fully-Decentralized Control for Sense-Trigger-Actuate Routines   in Edge Meshes

**Authors:** Anna Karanika, Rui Yang, Xiaojuan Ma, Jiangran Wang, Shalni Sundram, and Indranil Gupta

arXiv: 2303.00207 · 2023-03-02

## TL;DR

CoMesh introduces a decentralized control framework for sense-trigger-actuate routines in edge mesh networks, enabling scalable, fault-tolerant, and efficient management without relying on cloud infrastructure.

## Contribution

It proposes a novel decentralized control mechanism using k-groups and dynamic selection, with theoretical safety guarantees and practical validation.

## Key findings

- Load balancing and fault tolerance demonstrated in simulations and real deployments.
- Fast and scalable control achieved through zero-message-exchange mechanisms.
- Theoretical proof of safety for CoMesh's control mechanisms.

## Abstract

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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/2303.00207/full.md

## Figures

27 figures with captions in the complete paper: https://tomesphere.com/paper/2303.00207/full.md

## References

63 references — full list in the complete paper: https://tomesphere.com/paper/2303.00207/full.md

---
Source: https://tomesphere.com/paper/2303.00207