Serverless applications are typically composed of function workflows in which multiple short-lived functions are triggered to exchange data in response to events or state changes. Current serverless platforms coordinate and trigger functions by following high-level invocation dependencies but are oblivious to the underlying data exchanges between functions. This design is neither efficient nor easy to use in orchestrating complex workflows -- developers often have to manage complex function interactions by themselves, with customized implementation and unsatisfactory performance. In this paper, we argue that function orchestration should follow a data-centric approach. In our design, the platform provides a data bucket abstraction to hold the intermediate data generated by functions. Developers can use a rich set of data trigger primitives to control when and how the output of each function should be passed to the next functions in a workflow. By making data consumption explicit and allowing it to trigger functions and drive the workflow, complex function interactions can be easily and efficiently supported. We present Pheromone -- a scalable, low-latency serverless platform following this data-centric design. Compared to well-established commercial and open-source platforms, Pheromone cuts the latencies of function interactions and data exchanges by orders of magnitude, scales to large workflows, and enables easy implementation of complex applications.
英文摘要:
Serverless applications are typically composed of function workflows in which multiple short-lived functions are triggered to exchange data in response to events or state changes. Current serverless platforms coordinate and trigger functions by following high-level invocation dependencies but are oblivious to the underlying data exchanges between functions. This design is neither efficient nor easy to use in orchestrating complex workflows -- developers often have to manage complex function interactions by themselves, with customized implementation and unsatisfactory performance. In this paper, we argue that function orchestration should follow a data-centric approach. In our design, the platform provides a data bucket abstraction to hold the intermediate data generated by functions. Developers can use a rich set of data trigger primitives to control when and how the output of each function should be passed to the next functions in a workflow. By making data consumption explicit and allowing it to trigger functions and drive the workflow, complex function interactions can be easily and efficiently supported. We present Pheromone -- a scalable, low-latency serverless platform following this data-centric design. Compared to well-established commercial and open-source platforms, Pheromone cuts the latencies of function interactions and data exchanges by orders of magnitude, scales to large workflows, and enables easy implementation of complex applications.
Joint$λ$: Orchestrating Serverless Workflows on Jointcloud FaaS Systems
State Key Laboratory of Complex & Critical Software Environment, College of Computer Science and Technology, National University of Defense Technology(复杂与关键软件环境国家重点实验室,计算机科学与技术学院,国防科技大学);Xiangjiang Lab, Hunan University Of Technology and Business(湘江实验室,湖南工业大学)
Benchmarking, Analysis, and Optimization of Serverless Function Snapshots
Serverless computing has seen rapid adoption due to its high scalability and flexible, pay-as-you-go billing model. In serverless, developers structure their services as a collection of functions, sporadically invoked by various events like clicks. High inter-arrival time variability of function invocations motivates the providers to start new function instances upon each invocation, leading to significant cold-start delays that degrade user experience . To reduce cold-start latency, the industry has turned to snapshotting, whereby an image of a fully-booted function is stored on disk, enablin…
TOSCAdata: Modelling data pipeline applications in TOSCA
无服务器平台允许客户有效地使用云资源,并为所使用的资源的确切数量支付费用。许多专用的开源和商业云数据管理工具可用于处理大量数据。由于缺乏成熟和稳定的标准,这种现代云数据管理工具还不够成熟,无法将通用云应用程序与无服务器平台集成。TOSCA(Topology and Distraction Specification for Cloud Applications)是最流行和最成熟的标准之一,主要关注应用和服务的可移植性以及通用云应用组件的自动化管理。本文提出了TOSCA标准的扩展,TOSCAdata,专注于基于数据管道的云应用程序的建模。保持现代数据管道云应用的需求,TOSCAdata提供了许多TOSCA模型,这些模型可独立部署,可扩展,可重用,同时以管道方式有效处理数据的流动和转换。我们还展示了建议TOSCAdata模型的适用性,以基于Web的云应用程序的背景下,旅游推广作为一个用例场景。
Characterizing FaaS Workflows on Public Clouds: The Good, the Bad and the Ugly
Indian Institute of Science, Bangalore(印度科学学院);Georgia Institute of Technology(佐治亚理工学院);Indian Institute of Technology (IIT), Palakkad(印度理工学院帕拉卡德分校);IIT, Madras(印度理工学院马德拉斯分校)