FaaS (Function as a Service) allows developers to upload and execute code in the cloud without managing servers. FaaS offerings from leading public cloud providers are based on system microVM or application container technologies such as Firecracker or Docker. In this paper, we demonstrate that lightweight high-level runtimes, such as WebAssembly, could offer performance and scaling advantages over existing solutions, and could enable finely-grained pay-as-you-use business models. We compared widely used performance benchmarks between Docker native and WebAssembly implementations of the same algorithms. We also discuss the barriers for WebAssembly adoption in serverless computing, such as the lack of tooling support.
翻译:FaaS(功能为服务)允许开发者在不管理服务器的情况下上传和执行云层代码。来自主要公共云源供应商的FaaS 提供基于系统微微VM或应用集装箱技术,如Firecracker或Docker。在本文中,我们证明轻量级高运行时间,如WebAssembly(WebAssembly)可以提供优于现有解决方案的性能和规模优势,并能够实现精细的实收现用商业模式。我们比较了Docker本地和WebAssembly(WebAssembly)实施相同算法之间广泛使用的性能基准。我们还讨论了在无服务器计算中采用WebAssembly的障碍,例如缺乏工具支持。