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.
求助全文
约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学术官方微信