首页> 外文期刊>Future generation computer systems >AFCL: An Abstract Function Choreography Language for serverless workflow specification
【24h】

AFCL: An Abstract Function Choreography Language for serverless workflow specification

机译:AFCR:无服务器工作流程规范的抽象功能编排语言

获取原文
获取原文并翻译 | 示例
       

摘要

Serverless workflow applications or junction choreographies (FCs), which connect serverless functions by data- and control-flow, have gained considerable momentum recently to create more sophisticated applications as part of Function-as-a-Service (FaaS) platforms. Initial experimental analysis of the current support for FCs uncovered important weaknesses, including provider lock-in, and limited support for important data-flow and control-flow constructs. To overcome some of these weaknesses, we introduce the Abstract Function Choreography Language (AFCL) for describing FCs at a high-level of abstraction, which abstracts the function implementations from the developer. AFCL is a YAML-based language that supports a rich set of constructs to express advanced control-flow (e.g. parallelFor loops, parallel sections, dynamic loop iterations counts) and data-flow (e.g multiple input and output parameters of functions, DAG-based data-flow). We introduce data collections which can be distributed to loop iterations and parallel sections that may substantially reduce the delays for function invocations due to reduced data transfers between functions. We also support asynchronous functions to avoid delays due to blocking functions. AFCL supports properties (e.g. expected size of function input data) and constraints (e.g. minimize execution time) for the user to optionally provide hints about the behavior of functions and FCs and to control the optimization by the underlying execution environment. We implemented a prototype AFCL environment that supports AFCL as input language with multiple backends (AWS Lambda and IBM Cloud Functions) thus avoiding provider lock-in which is a common problem in serverless computing. We created two realistic FCs from two different domains and encoded them with AWS Step Functions, IBM Composer and AFCL. Experimental results demonstrate that our current implementation of the AFCL environment substantially outperforms AWS Step Functions and IBM Composer in terms of development effort, economic costs, and makespan.
机译:通过数据和控制流控制无服务器功能的无服务器工作流程或结束性工作流程(FCS)最近,最近获得了相当大的动量,以创建更复杂的应用程序作为功能 - AS-Service(FAAS)平台的一部分。对FCS的当前支持的初始实验分析揭示了重要的弱点,包括提供者锁定和对重要数据流量和控制流动构建的有限支持。为了克服这些弱点中的一些,我们介绍了用于描述高级别抽象的FCS的抽象函数编舞语言(AFCL),其摘要从开发人员提供的功能实现。 AFCR是一种基于yaml的语言,支持丰富的构造,以表达高级控制流(例如,Parallethor LoOPS,并行部分,动态循环迭代计数)和数据流(例如,基于DAG的多个输入和输出参数,基于DAG数据流)。我们引入数据收集,该数据集合可以分发到循环迭代和并行部分,该循环部分可能由于功能之间的数据传输减少而大大减少了功能调用的延迟。我们还支持异步功能以避免由于阻塞功能而延迟。 AFCH支持属性(例如功能输入数据的预期大小)和用户的约束(例如,最小化执行时间),以便用户可选地提供关于功能和FC的行为的提示,并控制底层执行环境的优化。我们实现了一个原型AFCL环境,支持AFCL作为具有多个后端(AWS Lambda和IBM云功能)的输入语言,从而避免提供者锁定,这是无服务器计算中的常见问题。我们从两个不同的域创建了两个现实的FCS,并用AWS步函数,IBM Composer和AFCR编码它们。实验结果表明,我们目前的AFCL环境实施大幅优势,在发展努力,经济成本和Makespan方面大幅优于AWS阶段职能和IBM作曲家。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号