English

Serverless Scheduling Policies based on Cost Analysis

Programming Languages 2023-11-01 v1

Abstract

Current proprietary and open-source serverless platforms follow opinionated, hardcoded scheduling policies to deploy the functions to be executed over the available workers. Such policies may decrease the performance and the security of the application due to locality issues (e.g., functions executed by workers far from the databases to be accessed). These limitations are partially overcome by the adoption of APP, a new platform-agnostic declarative language that allows serverless platforms to support multiple scheduling logics. Defining the "right" scheduling policy in APP is far from being a trivial task since it often requires rounds of refinement involving knowledge of the underlying infrastructure, guesswork, and empirical testing. In this paper, we start investigating how information derived from static analysis could be incorporated into APP scheduling function policies to help users select the best-performing workers at function allocation. We substantiate our proposal by presenting a pipeline able to extract cost equations from functions' code, synthesising cost expressions through the usage of off-the-shelf solvers, and extending APP allocation policies to consider this information.

Keywords

Cite

@article{arxiv.2310.20391,
  title  = {Serverless Scheduling Policies based on Cost Analysis},
  author = {Giuseppe De Palma and Saverio Giallorenzo and Cosimo Laneve and Jacopo Mauro and Matteo Trentin and Gianluigi Zavattaro},
  journal= {arXiv preprint arXiv:2310.20391},
  year   = {2023}
}

Comments

In Proceedings TiCSA 2023, arXiv:2310.18720

R2 v1 2026-06-28T13:07:18.749Z