Collaborative State Machines: A Better Programming Model for the Cloud-Edge-IoT Continuum
Marlon Etheredge, Thomas Fahringer, Felix Erlacher, Elias Kohler, Stefan Pedratscher, Juan Aznar-Poveda, Nishant Saurabh, Adrien Lebre

TL;DR
This paper introduces the Collaborative State Machines (CSM) programming model designed for the Cloud-Edge-IoT continuum, enabling efficient, reactive, and distributed application development with significant performance improvements.
Contribution
The paper presents the CSM programming model, a runtime system, and demonstrates its effectiveness through comprehensive evaluation on real-world use cases.
Findings
12x increase in throughput in stress testing
2.3x faster image processing compared to baseline
55x reduction in total processing time for smart factory
Abstract
The development of Cloud-Edge-IoT applications requires robust programming models. Existing models often struggle to manage the dynamic and stateful nature of these applications effectively. This paper introduces the Collaborative State Machines (CSM) programming model to address these complexities. CSM facilitates the development of reactive, event-driven, and stateful applications targeting the Cloud-Edge-IoT continuum. Applications built with CSM are composed of state machines that collaborate autonomously and can be distributed across different layers of the continuum. Key features of CSM include (i) a sophisticated collaboration mechanism among state machines utilizing events and persistent data; (ii) encapsulation of state through the inherent state of state machines and persistent data; (iii) integration of actions and service invocations within states and state transitions,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
