arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.19257cs.DC
收藏

UniFaaS:基于联邦函数服务的分布式网络基础设施跨域编程

UniFaaS: Programming across Distributed Cyberinfrastructure with Federated Function Serving

Yifei Li, Ryan Chard, Yadu Babuji, Kyle Chard, Ian Foster, Zhuozhao Li

AI总结:

本文提出 UniFaaS 联邦 FaaS 并行编程框架,通过统一接口、广域数据管理和异构感知动态调度,实现跨超级计算机、云与加速器的高性能科学工作流执行。

摘要:

现代科学应用越来越多地可分解为独立函数,这些函数可能部署在超级计算机、云和加速器等分布式且多样化的网络基础设施上。此类应用需要新的编程、分布式执行和函数级管理方法。我们提出 UniFaaS,这是一种并行编程框架,依赖联邦函数即服务(FaaS)模型,以支持组合分布式、可扩展且高性能的科学工作流,并支持细粒度的函数级管理。UniFaaS 提供统一编程接口,可组合动态任务图,并实现透明的广域数据管理。UniFaaS 采用“观察—预测—决策”方法,将工作流任务高效映射到目标异构动态资源。我们提出一种动态的异构感知调度算法,该算法采用延迟机制和重新调度机制,以适应动态资源容量。实验表明,UniFaaS 能够以极小的调度开销跨计算资源高效执行工作流。结果显示,与使用单个集群相比,在多个分布式集群上额外使用 19.48% 的资源时,UniFaaS 可将真实药物筛选工作流的性能提升最高达 22.99%;而额外使用 47.83% 的资源时,可将 montage 工作流性能提升 54.41%。

英文摘要:

Modern scientific applications are increasingly decomposable into individual functions that may be deployed across distributed and diverse cyberinfrastructure such as supercomputers, clouds, and accelerators. Such applications call for new approaches to programming, distributed execution, and function-level management. We present UniFaaS, a parallel programming framework that relies on a federated function-as-a-service (FaaS) model to enable composition of distributed, scalable, and high-performance scientific workflows, and to support fine-grained function-level management. UniFaaS provides a unified programming interface to compose dynamic task graphs with transparent wide-area data management. UniFaaS exploits an observe-predict-decide approach to efficiently map workflow tasks to target heterogeneous and dynamic resources. We propose a dynamic heterogeneity-aware scheduling algorithm that employs a delay mechanism and a re-scheduling mechanism to accommodate dynamic resource capacity. Our experiments show that UniFaaS can efficiently execute workflows across computing resources with minimal scheduling overhead. We show that UniFaaS can improve the performance of a real-world drug screening workflow by as much as 22.99% when employing an additional 19.48% of resources and a montage workflow by 54.41% when employing an additional 47.83% of resources across multiple distributed clusters, in contrast to using a single cluster

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑