Sedefoğlu, Ö.Sözer, Hasan2023-05-212023-05-212021-03978-145038104-8http://hdl.handle.net/10679/8295https://doi.org/10.1145/3412841.3442069The costs of serverless functions increase proportional to the amount of memory reserved on the deployed server. However, increasing the amount of memory decreases the function execution time, which is also a factor that contributes to cost. We propose an automated approach for optimizing the amount of memory reserved for serverless functions. First, we measure the running time of a given function in various memory settings and derive a regression model. Then, we define an objective function and a set of constraints based on this regression model and the configuration space. Finally, we determine the optimal memory setting for minimizing cost. Our industrial case study shows that significant cost reductions can be achieved by accurate estimations of the impact of memory settings on runtime performance.engrestrictedAccessCost minimization for deploying serverless functionsconferenceObject838500110875710001110.1145/3412841.3442069Cloud computingCost minimizationFunction as a serviceIndustrial case studyServerless computing2-s2.0-85104939191