Serverless computing has emerged as a very popular cloud technology, together with its companion Function-as-a-Service (FaaS) programming model enabling invocations of stateless functions from clients. An evolution of serverless is now taking place, shifting it towards the edge of the network and broadening its scope to stateful functions, as well. In this paper we argue that stateless vs. stateful is not a dichotomy of the application per se, but rather a time-varying property of most (if not all) applications, as confirmed by the analysis of real traces collected in a production environment. Based on this observation, we propose a mathematical formulation of a resource allocation problem that jointly encompasses both operation modes, dubbed lambda vs. mu, which can be solved efficiently at run-time by an edge orchestrator. We evaluate the proposed solution via simulation experiments in realistic network and workload conditions, which leads the way to the practical realization of a system where applications can freely adapt their current operation mode and optimize their performance at a minimum cost of operation from the network's perspective.
翻译:无服务器计算已经成为一种非常受欢迎的云技术,连同其伴随的“功能为服务”(Faa-as-service)编程模式,使得能够援引客户的无国籍功能。无服务器的演化正在发生,将它推向网络边缘,将其范围扩大至明确功能。在本文中,我们认为,无国籍与“状态”并不是应用本身的二分法,而是大部分(如果不是全部)应用的时间分配属性,这一点在对生产环境中收集的真实痕迹的分析中得到了证实。基于这一观察,我们提议对资源分配问题进行数学表述,将两种操作模式,即所谓的“羊羔”与“穆”联合包括起来,可由边际管弦乐员在运行时有效解决。我们通过在现实的网络和工作量条件下模拟实验来评估拟议的解决方案,从而导致实际实现一个系统,使应用程序能够自由调整其当前运行模式,并以网络最低运作成本优化其绩效。