Exploring a Wasm-Centric Development Approach for Edge-Centric IoT Architectures : a design exploration of unified Wasm runtime deployment in resource-constrained embedded systems
Zhang, Yingzhi; Peng, Xier (2025)
Zhang, Yingzhi
Peng, Xier
2025
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2025060319778
https://urn.fi/URN:NBN:fi:amk-2025060319778
Tiivistelmä
The number of IoT devices is growing rapidly. This brings challenges such as
different system types, many communication protocols, and limited device
resources. These factors make development and deployment more difficult.
Traditional cloud-based systems often fail to meet the needs of low latency and
high reliability. This is due to network delays, high bandwidth use, and strong
dependence on stable internet connections.
This thesis presents a solution based on WAMR and the Embassy framework
from the Rust ecosystem. It aims to build a lightweight runtime layer for IoT
devices. Embassy uses Rust's async/await feature to turn tasks into state
machines. This design works well on resource-limited devices.The system uses
a three-layer structure: sensor nodes, edge devices, and cloud platforms. The
sensor and edge layers use WebAssembly modules for modular deployment. The
cloud layer is kept separate to avoid performance issues.To test the design, a
smart curtain control system was built. It shows that message-passing methods,
like publish-subscribe and request-response, can work in real scenarios. It also
supports dynamic updates of control rules.This solution helps reduce problems
caused by different hardware and protocols. It also improves safety and reliability
using sandbox isolation and resource limits.
This thesis confirms that combining WAMR with the runtime extension strategy of
the Embassy framework provides a cross-layer, portable, and highly maintainable
unified deployment solution for IoT applications, promoting the development of
edge computing in a more lightweight and modular direction.
different system types, many communication protocols, and limited device
resources. These factors make development and deployment more difficult.
Traditional cloud-based systems often fail to meet the needs of low latency and
high reliability. This is due to network delays, high bandwidth use, and strong
dependence on stable internet connections.
This thesis presents a solution based on WAMR and the Embassy framework
from the Rust ecosystem. It aims to build a lightweight runtime layer for IoT
devices. Embassy uses Rust's async/await feature to turn tasks into state
machines. This design works well on resource-limited devices.The system uses
a three-layer structure: sensor nodes, edge devices, and cloud platforms. The
sensor and edge layers use WebAssembly modules for modular deployment. The
cloud layer is kept separate to avoid performance issues.To test the design, a
smart curtain control system was built. It shows that message-passing methods,
like publish-subscribe and request-response, can work in real scenarios. It also
supports dynamic updates of control rules.This solution helps reduce problems
caused by different hardware and protocols. It also improves safety and reliability
using sandbox isolation and resource limits.
This thesis confirms that combining WAMR with the runtime extension strategy of
the Embassy framework provides a cross-layer, portable, and highly maintainable
unified deployment solution for IoT applications, promoting the development of
edge computing in a more lightweight and modular direction.