FlashCube
Zhen Lin, Kao-Feng Hsieh, Yu Sun et al. · Workshop on Programming Languages and Operating Systems (PLOS) · 2021
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).
Cited by 11 works. doi:10.1145/3477113.3487273
Authors
References
- Docker: lightweight Linux containers for consistent development and deployment
- My VM is Lighter (and Safer) than your Container
- Catalyzer
- Firecracker: Lightweight virtualization for serverless applications
- Pocket: elastic ephemeral storage for serverless analytics
- FaasCache: keeping serverless computing alive with greedy-dual caching
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- SEUSS
- IncludeOS: A Minimal, Resource Efficient Unikernel for Cloud Services
- E3: Energy-Efficient Microservices on SmartNIC-Accelerated Servers.