Browsing by Author "Shin, Wonseok"
Now showing 1 - 2 of 2
Results Per Page
Sort Options
- Fireworks: A Fast, Efficient and Safe Serverless FrameworkShin, Wonseok (Virginia Tech, 2021-06-01)Serverless computing is a new paradigm, and it is becoming rapidly popular in Cloud computing. Serverless computing has interesting, unique properties that the unit of deployment and execution is a serverless function. Moreover, it introduces the new economic model pay-as-you-go billing model. It provides a high economic benefit from highly elastic resource provisioning to the application. However, it also accompanies the new challenges for serverless computing: (1) start-up time latency problem from relatively short function execution time, (2) high-security risk from highly consolidated environment, and (3) memory efficiency problem from unpredictable function invocations. These problems not only degrade performance but also lowers the economic benefits of Cloud providers. In this work, we propose VM-level pre-JIT snapshot and develop Fireworks to solve the three main challenges without any compromises. The key idea behind the VM-level preJIT snapshot is to leverage pre-JITted serverless function codes to reduce both start-up time and execution time of the function and improve memory efficiency by sharing the pre-JITted codes. Also, Fireworks can provide high-level isolation by storing the pre-JITted codes to the snapshot of microVM's snapshot. Our evaluation shows that Fireworks outperforms the state-of-art serverless platforms by 20.6× and memory efficiency up to 7.3×.
- Fireworks: A Fast, Efficient, and Safe Serverless Framework using VM-level post-JIT SnapshotShin, Wonseok; Kim, Wook-Hee; Min, Changwoo (ACM, 2022-03-28)Serverless computing is a new paradigm that is rapidly gaining popularity in Cloud computing. One unique property in serverless computing is that the unit of deployment and execution is a serverless function, which is much smaller than a typical server program. Serverless computing introduces a new pay-as-you-go billing model and provides a high economic benefit from highly elastic resource provisioning. However, serverless computing also brings new challenges such as (1) long start-up times compared to relatively short function execution times, (2) security risks from a highly consolidated environment, and (3) memory efficiency problems from unpredictable function invocations. These problems not only degrade performance but also lower the economic benefits of Cloud providers. To address these challenges without any compromises, we propose a novel VM-level post-JIT snapshot approach and develop a new serverless framework, Fireworks. Our key idea is to synergistically leverage a virtual machine (VM)- level snapshot with a language runtime-level just-in-time (JIT) compilation in tandem. Fireworks leverages JITted serverless function code to reduce both start-up time and execution time of functions and improves memory efficiency by sharing the JITted code. Also, Fireworks can provide a high level of isolation by using a VM as a sandbox to execute a serverless function. Our evaluation results show that Fireworks outperforms state-of-art serverless platforms by 20.6× and provides higher memory efficiency of up to 7.3×.