Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
Simon Shillaker, Peter Pietzuch

TL;DR
Faasm introduces Faaslets, a lightweight, memory-sharing isolation abstraction using WebAssembly, enabling more efficient stateful serverless computing with significant performance and resource improvements over traditional container-based platforms.
Contribution
The paper presents Faaslets and Faasm, a novel serverless runtime that supports shared memory and reduces overheads, improving performance and resource efficiency for stateful functions.
Findings
2x faster training of machine learning models
10x less memory usage during training
90% reduction in tail latency for inference
Abstract
Serverless computing is an excellent fit for big data processing because it can scale quickly and cheaply to thousands of parallel functions. Existing serverless platforms isolate functions in ephemeral, stateless containers, preventing them from directly sharing memory. This forces users to duplicate and serialise data repeatedly, adding unnecessary performance and resource costs. We believe that a new lightweight isolation approach is needed, which supports sharing memory directly between functions and reduces resource overheads. We introduce Faaslets, a new isolation abstraction for high-performance serverless computing. Faaslets isolate the memory of executed functions using software-fault isolation (SFI), as provided by WebAssembly, while allowing memory regions to be shared between functions in the same address space. Faaslets can thus avoid expensive data movement when…
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.
Taxonomy
TopicsCloud Computing and Resource Management · Distributed systems and fault tolerance · Software System Performance and Reliability
