Fine-Grained Performance and Cost Modeling and Optimization for FaaS Applications

被引:13
作者
Lin, Changyuan [1 ]
Mahmoudi, Nima [2 ]
Fan, Caixiang [2 ]
Khazaei, Hamzeh [1 ]
机构
[1] York Univ, Dept Elect Engn & Comp Sci, Toronto, ON M3J 1P3, Canada
[2] Univ Alberta, Dept Elect & Comp Engn, Edmonton, AB T6G 2R3, Canada
关键词
Costs; Optimization; Time factors; Firing; Analytical models; Computational modeling; Cloud computing; Cloud serverless computing; performance modeling; performance optimization; cost modeling; cost optimization;
D O I
10.1109/TPDS.2022.3214783
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Function-as-a-Service (FaaS) has become a mainstream cloud computing paradigm for developers to build cloud-native applications in recent years. By taking advantage of serverless architecture, FaaS applications bring many desirable benefits, including built-in scalability, high availability, and improved cost-effectiveness. However, predictability and trade-off of performance and cost are still key pitfalls for FaaS applications due to poor infrastructure transparency and lack of performance and cost models that fit the new paradigm. In this study, we therefore fill this gap by proposing formal performance and cost modeling and optimization algorithms, which enable accurate prediction and fine-grained control over the performance and cost of FaaS applications. The proposed model and algorithms provide better predictability and trade-off of performance and cost for FaaS applications, which help developers to make informed decisions on cost reduction, performance improvement, and configuration optimization. We validate the proposed model and algorithms via extensive experiments on AWS. We show that the modeling algorithms can accurately estimate critical metrics, including response time, cost, exit status, and their distributions, regardless of the complexity and scale of the application workflow. Also, the depth-first bottleneck alleviation algorithm for trade-off analysis can effectively solve two optimization problems with fine-grained constraints.
引用
收藏
页码:180 / 194
页数:15
相关论文
共 51 条
  • [1] Package-Aware Scheduling of FaaS Functions
    Abad, Cristina L.
    Boza, Edwin F.
    van Eyk, Erwin
    [J]. COMPANION OF THE 2018 ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING (ICPE '18), 2018, : 101 - 106
  • [2] Serverless Computing: Economic and Architectural Impact
    Adzic, Gojko
    Chatley, Robert
    [J]. ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 884 - 889
  • [3] Agache A, 2020, PROCEEDINGS OF THE 17TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION, P419
  • [4] Akkus IE, 2018, PROCEEDINGS OF THE 2018 USENIX ANNUAL TECHNICAL CONFERENCE, P923
  • [5] Cloud-Scale Runtime Verification of Serverless Applications
    Alpernas, Kalev
    Panda, Aurojit
    Ryzhyk, Leonid
    Sagiv, Mooly
    [J]. PROCEEDINGS OF THE 2021 ACM SYMPOSIUM ON CLOUD COMPUTING (SOCC '21), 2021, : 92 - 107
  • [6] amazon, 2022, SERVERLESS COMPUTING
  • [7] amazon, 2022, AMAZON CLOUDWATCH AP
  • [8] amazon, 2022, AWS STEP FUNCTIONS S
  • [9] amazon, 2021, AWS STEP FUNCTIONS P
  • [10] amazon, 2021, SERVERLESS COMPUTING