2019 · 86 citations · 15 references
ComputingComputer EngineeringComputer SystemsEdge ComputingInternet Of ThingsServerless ComputingContainerization At The EdgeEdge Resource ManagementEdge Serverless ComputingEdge-cloud ArchitectureIot Edge ComputingServerless ArchitectureCloud Computing SystemsElastic Resource ScalingElastic ScalingIot Data ProcessingResource ScalingServerless Data ProcessingServerless Edge ComputingServerless Resource Management
Serverless computing enables task‑specific application execution without server provisioning, but traditional VM‑ and container‑based solutions are too heavyweight for edge IoT workloads that demand low latency, prompting the exploration of WebAssembly as a lightweight, near‑native alternative. This work surveys current serverless approaches, identifies performance gaps for edge deployment, and proposes the aWsm framework to address these gaps through profiling and SLO‑driven management. aWsm implements serverless functions in WebAssembly, leveraging its small memory footprint and fast invocation to provide efficient edge execution and enable function profiling and SLO‑based performance tuning. Initial tests on MiBench microbenchmarks show aWsm achieves startup times of 12–30 µs and memory usage between 10 kB and 100 kB.
Serverless computing frameworks allow users to execute a small application (dedicated to a specific task) without handling operational issues such as server provisioning, resource management, and resource scaling for the increased load. Serverless computing originally emerged as a Cloud computing framework, but might be a perfect match for IoT data processing at the Edge. However, the existing serverless solutions, based on VMs and containers, are too heavy-weight (large memory footprint and high function invocation time) for operating efficiency and elastic scaling at the Edge. Moreover, many novel IoT applications require low-latency data processing and near real-time responses, which makes the current cloud-based serverless solutions unsuitable. Recently, WebAssembly (Wasm) has been proposed as an alternative method for running serverless applications at near-native speeds, while having a small memory footprint and optimized invocation time. In this paper, we discuss some existing serverless solutions, their design details, and unresolved performance challenges for an efficient serverless management at the Edge. We outline our serverless framework, called aWsm, based on the WebAssembly approach, and discuss the opportunities enabled by the aWsm design, including function profiling and SLO-driven performance management of users' functions. Finally, we present an initial assessment of aWsm performance featuring average startup time (12μs to 30μs) and an economical memory footprint (ranging from 10s to 100s of kB) for a subset of MiBench microbenchmarks used as functions.
15
Xen and the art of virtualization
Paul Barham, Boris Dragovic, Keir Fraser et al. · ACM SIGOPS Operating Systems Review · 2003 · 5.9K citations
MiBench: A free, commercially representative embedded benchmark suite
Matthew R. Guthaus, Jeffrey Ringenberg, Daniel Ernst et al. · 2001 · 3.1K citations
MiBench: A free, commercially representative embedded benchmark suite
Matthew R. Guthaus, Jeffrey Ringenberg, Daniel Ernst et al. · 2005 · 1.6K citations
Xen and the art of virtualization
Paul Barham, Boris Dragovic, Keir Fraser et al. · 2003 · 1.6K citations
Bringing the web up to speed with WebAssembly
Andreas Haas, Andreas Rossberg, Derek L. Schuff et al. · 2017 · 510 citations · Full text