2020 · 116 citations · 21 references
ComputingCloud ComputingComputer ScienceCloud InfrastructureOperating SystemsServerless ComputingCold Start PerformanceServerless ArchitectureSnapshot ManagementCloud Computing ResourcesCold Start LatencyCold Start MitigationIdle ResourcesInitializationProgramming Model DesignRuntime Resource ManagementStart-up
Function-as-service (FaaS) platforms promise a simpler programming model for cloud computing, in which the developers concentrate on writing its applications. In contrast, platform providers take care of resource management and administration. As FaaS users are billed based on the execution of the functions, platform providers have a natural incentive not to keep idle resources running at the platform's expense. However, this strategy may lead to the cold start issue, in which the execution of a function is delayed because there is no ready resource to host the execution. Cold starts can take hundreds of milliseconds to seconds and have been a prohibitive and painful disadvantage for some applications. This work describes and evaluates a technique to start functions, which restores snapshots from previously executed function processes. We developed a prototype of this technique based on the CRIU process checkpoint/restore Linux tool. We evaluate this prototype by running experiments that compare its start-up time against the standard Unix process creation/start-up procedure. We analyze the following three functions: i) a "do-nothing" function, ii) an Image Resizer function, and iii) a function that renders Markdown files. The results attained indicate that the technique can improve the start-up time of function replicas by 40% (in the worst case of a "do-nothing" function) and up to 71% for the Image Resizer one. Further analysis indicates that the runtime initialization is a key factor, and we confirmed it by performing a sensitivity analysis based on synthetically generated functions of different code sizes. These experiments demonstrate that it is critical to decide when to create a snapshot of a function. When one creates the snapshots of warm functions, the speed-up achieved by the prebaking technique is even higher: the speed-up increases from 127.45% to 403.96%, for a small, synthetic function; and for a bigger, synthetic function, this ratio increases from 121.07% to 1932.49%.
21
An analysis of variance test for normality (complete samples)
Samuel S. Shapiro, M. B. Wilk · Biometrika · 1965 · 19.3K citations
2017 USENIX Annual Technical Conference (USENIX ATC'17)
Do Le Quoc, Martin S. Beck, Pramod Bhatotia et al. · 2017 · 3.1K citations
Libckpt: transparent checkpointing under Unix
James S. Plank, Micah Beck, Gerry Kingsley et al. · 1995 · 581 citations
Peeking behind the curtains of serverless platforms
Liang Wang, Mengyuan Li, Yinqian Zhang et al. · 2018 · 290 citations
SAND: Towards High-Performance Serverless Computing.
İstemi Ekin Akkuş, Ruichuan Chen, Ivica Rimac et al. · 2018 · 209 citations