Enhancing performance modeling of serverless functions via static analysis
File(s)
Author(s)
Wang, Runan
Casale, Giuliano
Filieri, Antonio
Type
Conference Paper
Abstract
Serverless computing leverages the design of complex applications as the composition of small, individual functions to simplify development and operations. However, this flexibility complicates reasoning about the trade-off between performance and costs, requiring accurate models to support prediction and configuration decisions. Established performance model inference from execution traces is typically more expensive for serverless applications due to the significantly larger topologies and numbers of parameters resulting from the higher fragmentation into small functions. On the other hand, individual functions tend to embed simpler logic than larger services, which enables inferring some structural information by reasoning directly from their source code. In this paper, we use static control and data flow analysis to extract topological and parametric dependencies among interacting functions from their source code. To enhance the accuracy of model parameterization, we devise an instrumentation strategy to infer performance profiles driven by code analysis. We then build a compact layered queueing network (LQN) model of the serverless workflow based on the static analysis and code profiling data. We evaluated our method on serverless workflows with several common composition patterns deployed on Azure Functions, showing it can accurately predict the performance of the application under different resource provisioning strategies and workloads with a mean error under 7.3%.
Editor(s)
Troya, J
Medjahed, B
Piattini, M
Yao, L
Fernandez, P
Ruiz-Cortes, A
Date Issued
2022-11-22
Date Acceptance
2022-11-01
Citation
SERVICE-ORIENTED COMPUTING (ICSOC 2022), 2022, 13740, pp.71-88
ISBN
978-3-031-20983-3
ISSN
0302-9743
Publisher
SPRINGER INTERNATIONAL PUBLISHING AG
Start Page
71
End Page
88
Journal / Book Title
SERVICE-ORIENTED COMPUTING (ICSOC 2022)
Volume
13740
Copyright Statement
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
Identifier
https://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=LinksAMR&KeyUT=WOS:000898280300005&DestLinkType=FullRecord&DestApp=ALL_WOS&UsrCustomerID=a2bf6146997ec60c407a63945d4e92bb
Source
20th International Conference on Service-Oriented Computing (ICSOC)
Subjects
Science & Technology
Technology
Computer Science, Interdisciplinary Applications
Computer Science, Software Engineering
Computer Science, Theory & Methods
Computer Science
Serverless computing
Performance modeling
Layered queueing networks
Static analysis
Code profiling
Publication Status
Published
Start Date
2022-11-29
Finish Date
2022-12-02
Coverage Spatial
Sevilla, SPAIN
Date Publish Online
2022-11-22