Abstract
Fast provisioning of serverless functions is salient for serverless platforms. Though lightweight sandboxes (e.g., containers) enclose only necessary files and libraries, a cold launch still requires up to a few seconds to complete. Such slow provisioning prolongs the response time of serverless functions and negatively impacts users' experiences. This paper analyzes the main reasons for such slowdown and introduces an effective containerization framework, FlashCube. Instead of building a container from scratch, FlashCube quickly and efficiently assembles it through a group of pre-created general container parts (e.g., namespaces, cgroups, and language runtimes). In addition, FlashCube's user-space implementation makes it easily applicable to existing commodity serverless platforms. Our preliminary evaluation demonstrates that FlashCube can quickly provision containerized functions in less than 10 ms (vs. ∼400 ms using Docker containers).
Cite
CITATION STYLE
Lin, Z., Hsieh, K. F., Sun, Y., Shin, S., & Lu, H. (2021). FlashCube: Fast Provisioning of Serverless Functions with Streamlined Container Runtimes. In PLOS 2021 - Proceedings of the 2021 11th Workshop on Programming Languages and Operating Systems (pp. 38–45). Association for Computing Machinery, Inc. https://doi.org/10.1145/3477113.3487273
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.