Provenance plays a crucial role in scientific workflow execution, for instance by providing data for failure analysis, real-time monitoring, or statistics on resource utilization for right-sizing allocations. The workflows themselves, however, become increasingly complex in terms of involved components. Furthermore, they are executed on distributed cluster infrastructures, which makes the real-time collection, integration, and analysis of provenance data challenging. Existing provenance systems struggle to balance scalability, real-time processing, online provenance analytics, and integration across different components and compute resources. Moreover, most provenance solutions are not workflow-aware; by focusing on arbitrary workloads, they miss opportunities for workflow systems where optimization and analysis can exploit the availability of a workflow specification that dictates, to some degree, task execution orders and provides abstractions for physical tasks at a logical level.
In this paper, we present HyProv, a hybrid provenance management system that combines centralized and federated paradigms to offer scalable, online, and workflow-aware queries over workflow provenance traces. HyProv uses a centralized component for efficient management of the small and stable workflow-specification-specific provenance, and complements this with federated querying over different scalable monitoring and provenance databases for the large-scale execution logs. This enables low-latency access to current execution data. Furthermore, the design supports complex provenance queries, which we exemplify for the workflow system Airflow in combination with the resource manager Kubernetes. Our experiments indicate that HyProv scales to large workflows, answers provenance queries with sub-second latencies, and adds only modest CPU and memory overhead to the cluster.
Workflow Provenance in the Lifecycle of Scientific Machine Learning
Inria, Univ. Montpellier, CNRS & LIRMM, France(法国国家信息与自动化研究所,蒙彼利埃大学,法国国家科学研究中心与LIRMM);Federal University of Rio de Janeiro, Brazil(里约热内卢联邦大学);IBM Research(IBM研究院)
Accelerating discovery across scientific disciplines through reproducible workflows with AiiDAlab
Centre for Computational Chemistry, School of Chemistry, University of Bristol(布里斯托大学化学学院计算化学中心);PSI Center for Scientific Computing, Theory and Data, Paul Scherrer Institute(保罗谢尔研究所科学计算、理论与数据中心);Department of Information Technology and Electrical Engineering, ETH Zurich(苏黎世联邦理工学院信息技术与电气工程系);PSI Center for Neutron and Muon Sciences, Paul Scherrer Institute(保罗谢尔研究所中子与缪子科学中心)