Africanus IV. The Stimela2 framework: Scalable and repeatable workflows, from local to cloud compute

IF 1.9 4区 物理与天体物理 Q2 ASTRONOMY & ASTROPHYSICS
O.M. Smirnov , S. Makhathini , J.S. Kenyon , H.L. Bester , S.J. Perkins , A.J.T. Ramaila , B.V. Hugo
{"title":"Africanus IV. The Stimela2 framework: Scalable and repeatable workflows, from local to cloud compute","authors":"O.M. Smirnov ,&nbsp;S. Makhathini ,&nbsp;J.S. Kenyon ,&nbsp;H.L. Bester ,&nbsp;S.J. Perkins ,&nbsp;A.J.T. Ramaila ,&nbsp;B.V. Hugo","doi":"10.1016/j.ascom.2025.100959","DOIUrl":null,"url":null,"abstract":"<div><div><span>Stimela2</span> is a new-generation framework for developing data reduction workflows. It is designed for radio astronomy data but can be adapted for other data processing applications. <span>Stimela2</span> aims at the middle ground between ease of development, human readability, and enabling robust, scalable and repeatable workflows. <span>Stimela2</span> defines a YAML-based domain specific language (DSL), which represents workflows by linear, concise and intuitive YAML-format <em>recipes</em>. Atomic data reduction tasks (binary executables, Python functions and code, and CASA tasks) are described by YAML-format <em>cab definitions</em> detailing each task’s <em>schema</em> (inputs and outputs). The <span>Stimela2</span> DSL provides a rich syntax for chaining tasks together, and encourages a high degree of modularity: recipes may be nested into other recipes, and configuration is cleanly separated from recipe logic. Tasks can be executed natively or in isolated environments using containerization technologies such as Apptainer. The container images are open-source and maintained through a companion package called <span>cult-cargo</span>. This enables the development of system-agnostic and repeatable workflows. <span>Stimela2</span> facilitates the deployment of scalable, distributed workflows by interfacing with the <span>Slurm</span> scheduler and the <span>Kubernetes</span> API. The latter allows workflows to be readily deployed in the cloud. Previous papers in this series used <span>Stimela2</span> as the underlying technology to run workflows on the AWS cloud.</div><div>This paper presents an overview of <span>Stimela2</span>’s design, architecture and use in the radio astronomy context.</div></div>","PeriodicalId":48757,"journal":{"name":"Astronomy and Computing","volume":"52 ","pages":"Article 100959"},"PeriodicalIF":1.9000,"publicationDate":"2025-03-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Astronomy and Computing","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2213133725000320","RegionNum":4,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"ASTRONOMY & ASTROPHYSICS","Score":null,"Total":0}
引用次数: 0

Abstract

Stimela2 is a new-generation framework for developing data reduction workflows. It is designed for radio astronomy data but can be adapted for other data processing applications. Stimela2 aims at the middle ground between ease of development, human readability, and enabling robust, scalable and repeatable workflows. Stimela2 defines a YAML-based domain specific language (DSL), which represents workflows by linear, concise and intuitive YAML-format recipes. Atomic data reduction tasks (binary executables, Python functions and code, and CASA tasks) are described by YAML-format cab definitions detailing each task’s schema (inputs and outputs). The Stimela2 DSL provides a rich syntax for chaining tasks together, and encourages a high degree of modularity: recipes may be nested into other recipes, and configuration is cleanly separated from recipe logic. Tasks can be executed natively or in isolated environments using containerization technologies such as Apptainer. The container images are open-source and maintained through a companion package called cult-cargo. This enables the development of system-agnostic and repeatable workflows. Stimela2 facilitates the deployment of scalable, distributed workflows by interfacing with the Slurm scheduler and the Kubernetes API. The latter allows workflows to be readily deployed in the cloud. Previous papers in this series used Stimela2 as the underlying technology to run workflows on the AWS cloud.
This paper presents an overview of Stimela2’s design, architecture and use in the radio astronomy context.
Stimela2框架:从本地计算到云计算,可扩展和可重复的工作流
Stimela2是用于开发数据简化工作流程的新一代框架。它是为射电天文数据设计的,但也可以适用于其他数据处理应用。Stimela2的目标是在易于开发、易于阅读和支持健壮的、可伸缩的和可重复的工作流之间的中间地带。Stimela2定义了一种基于yaml的领域特定语言(DSL),它通过线性、简洁和直观的yaml格式食谱来表示工作流。原子数据缩减任务(二进制可执行文件、Python函数和代码以及CASA任务)由详细描述每个任务模式(输入和输出)的yaml格式cab定义来描述。Stimela2 DSL为将任务链接在一起提供了丰富的语法,并鼓励高度模块化:配方可以嵌套到其他配方中,配置与配方逻辑完全分离。任务可以本地执行,也可以使用容器化技术(如Apptainer)在孤立的环境中执行。容器映像是开源的,并通过一个名为cult-cargo的配套包进行维护。这使得开发与系统无关且可重复的工作流成为可能。Stimela2通过与Slurm调度程序和Kubernetes API接口,简化了可扩展的分布式工作流的部署。后者允许在云中轻松部署工作流。本系列之前的文章使用Stimela2作为在AWS云上运行工作流的底层技术。本文概述了Stimela2的设计、结构和在射电天文学背景下的使用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Astronomy and Computing
Astronomy and Computing ASTRONOMY & ASTROPHYSICSCOMPUTER SCIENCE,-COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
CiteScore
4.10
自引率
8.00%
发文量
67
期刊介绍: Astronomy and Computing is a peer-reviewed journal that focuses on the broad area between astronomy, computer science and information technology. The journal aims to publish the work of scientists and (software) engineers in all aspects of astronomical computing, including the collection, analysis, reduction, visualisation, preservation and dissemination of data, and the development of astronomical software and simulations. The journal covers applications for academic computer science techniques to astronomy, as well as novel applications of information technologies within astronomy.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信