Scorpius: Proactive Code Preparation to Accelerate Function Startup

2022 IEEE/ACM 30th International Symposium on Quality of Service (IWQoS)(2022)

引用 0|浏览18
暂无评分
摘要
Massive enterprises deploy their applications on public clouds to relieve infrastructure management burden. However, applications are faced with highly fluctuating workloads, while clouds provision exclusive resources at coarse time granularity, resulting in severely low resource efficiency. Function-as-a-Service (FaaS) platform enables fine-grained resource multiplexing, which has the potential to improve efficiency. However, FaaS platforms could consume several seconds to start functions and the long startup latency can severely hurt the performance of applications. In this paper, we measure the FaaS platforms and find that most startup latency is occupied by code preparation. To reduce the code preparation latency with little resource overhead, we propose Scorpius, a FaaS platform that proactively prepares code based on the historical data of functions. It combines two optimization categories: (1) To reduce the code size, Scorpius proposes to proactively prepare partial libraries over servers and run functions on the server with most library sharing. (2) To advance the start time, Scorpius proposes to predict the function overload with a simple model and proactively scale code to more servers. We have implemented a prototype of Scorpius and conducted extensive experiments. Evaluation results demonstrate that compared with state-of-the-art methods, Scorpius can reduce the code preparation latency by 87.6% with only 9.3% storage overhead.
更多
查看译文
关键词
Scorpius,proactive code preparation,function startup,massive enterprises,public clouds,infrastructure management burden,coarse time granularity,function-as-a-Service platform,fine-grained resource multiplexing,FaaS platform,code size,start time,function overload
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络