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 条
  • [21] Eismann S., 2020, ARXIV
  • [22] The State of Serverless Applications: Collection, Characterization, and Community Consensus
    Eismann, Simon
    Scheuner, Joel
    Van Eyk, Erwin
    Schwinger, Maximilian
    Grohmann, Johannes
    Herbst, Nikolas
    Abad, Cristina
    Iosup, Alexandru
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (10) : 4152 - 4166
  • [23] Predicting the Costs of Serverless Workflows
    Eismann, Simon
    Grohmann, Johannes
    van Eyk, Erwin
    Herbst, Nikolas
    Kounev, Samuel
    [J]. PROCEEDINGS OF THE ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING (ICPE'20), 2020, : 265 - 276
  • [24] Be Wary of the Economics of "Serverless" Cloud Computing
    Eivy, Adam
    Weinman, Joe
    [J]. IEEE CLOUD COMPUTING, 2017, 4 (02): : 6 - 12
  • [25] Performance evaluation of heterogeneous cloud functions
    Figiela, Kamil
    Gajek, Adam
    Zima, Adam
    Obrok, Beata
    Malawski, Maciej
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2018, 30 (23)
  • [26] Jeon H, 2019, 2019 20 INT C PARALL, P386
  • [27] Jonas E., 2019, ARXIV, DOI DOI 10.48550/ARXIV.1902.03383
  • [28] Centralized Core-granular Scheduling for Serverless Functions
    Kaffes, Kostis
    Yadwadkar, Neeraja J.
    Kozyrakis, Christos
    [J]. PROCEEDINGS OF THE 2019 TENTH ACM SYMPOSIUM ON CLOUD COMPUTING (SOCC '19), 2019, : 158 - 164
  • [29] Kellerer H., 2004, KNAPSACK PROBLEMS, P317, DOI DOI 10.1007/978-3-540-24777-7_11
  • [30] A mixed-method empirical study of Function-as-a-Service software development in industrial practice
    Leitner, Philipp
    Wittern, Erik
    Spillner, Josef
    Hummer, Waldemar
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 149 : 340 - 359