Skip to main content
QUICK REVIEW

[Paper Review] Pilot-Streaming: A Stream Processing Framework for High-Performance Computing

André Luckow, George Chantzialexiou|arXiv (Cornell University)|Jan 26, 2018
Cloud Computing and Resource ManagementComputer Science12 references5 citations
TL;DR

Pilot-Streaming is a high-performance computing framework that enables dynamic, on-demand deployment and runtime resource management of stream processing frameworks like Kafka, Spark, and Dask. It decouples messaging, transport, and processing through a unified architecture, achieving up to 390 MB/sec throughput on 32 nodes—sufficient for real-time light source data analysis and supporting scalable, adaptive streaming workloads in scientific HPC environments.

ABSTRACT

An increasing number of scientific applications rely on stream processing for generating timely insights from data feeds of scientific instruments, simulations, and Internet-of-Thing (IoT) sensors. The development of streaming applications is a complex task and requires the integration of heterogeneous, distributed infrastructure, frameworks, middleware and application components. Different application components are often written in different languages using different abstractions and frameworks. Often, additional components, such as a message broker (e.g. Kafka), are required to decouple data production and consumptions and avoiding issues, such as back-pressure. Streaming applications may be extremely dynamic due to factors, such as variable data rates caused by the data source, adaptive sampling techniques or network congestions, variable processing loads caused by usage of different machine learning algorithms. As a result application-level resource management that can respond to changes in one of these factors is critical. We propose Pilot-Streaming, a framework for supporting streaming frameworks, applications and their resource management needs on HPC infrastructure. Pilot-Streaming is based on the Pilot-Job concept and enables developers to manage distributed computing and data resources for complex streaming applications. It enables applications to dynamically respond to resource requirements by adding/removing resources at runtime. This capability is critical for balancing complex streaming pipelines. To address the complexity in developing and characterization of streaming applications, we present the Streaming Mini- App framework, which supports different plug-able algorithms for data generation and processing, e.g., for reconstructing light source images using different techniques. We utilize the Mini-App framework to conduct an evaluation of Pilot-Streaming.

Motivation & Objective

  • To address the lack of dynamic, scalable stream processing support on HPC infrastructure for scientific applications with high data rates.
  • To enable runtime resource management and dynamic scaling of streaming components such as message brokers and processing engines.
  • To simplify the development and performance characterization of complex streaming pipelines in scientific workflows.
  • To provide a framework-agnostic abstraction layer for deploying and managing diverse stream processing frameworks on HPC systems.
  • To evaluate the framework’s performance using real-world workloads, including light source image reconstruction and streaming KMeans.

Proposed method

  • Pilot-Streaming uses a unifying architecture that decouples message brokering, communication, and processing, enabling modular and composable stream processing.
  • It is built on the Pilot-Abstraction model, allowing dynamic provisioning and runtime adjustment of computational resources per application component.
  • The framework provides a high-level, framework-agnostic API to deploy and manage streaming frameworks such as Kafka, Spark Streaming, Dask, and Flink.
  • Streaming Mini-Apps are introduced as a plug-in-based framework to simulate data generation, processing, and performance characteristics of scientific streaming applications.
  • The system supports dynamic scaling of compute and I/O resources, including parallelism tuning and bandwidth-aware configuration for brokers and data sources.
  • Experiments were conducted on the XSEDE Wrangler HPC system to evaluate throughput, scalability, and bottlenecks under real-world streaming workloads.

Experimental results

Research questions

  • RQ1How can streaming workloads with highly variable data rates and dynamic resource demands be efficiently managed on HPC infrastructure?
  • RQ2What architectural abstractions are needed to enable dynamic, on-demand deployment and runtime scaling of stream processing frameworks in scientific HPC environments?
  • RQ3How do different combinations of message brokers, processing engines, and resource configurations affect end-to-end throughput and performance in streaming pipelines?
  • RQ4To what extent can the Streaming Mini-Apps framework accurately emulate complex scientific streaming application characteristics for performance evaluation?
  • RQ5What are the key performance bottlenecks in high-throughput streaming pipelines, and how can they be mitigated through intelligent resource management?

Key findings

  • Pilot-Streaming achieved a peak throughput of 390 MB/sec across 32 nodes with 1536 virtual cores and 4 TB of memory, sufficient to sustain the LCLS-I data stream at high sampling rates.
  • The framework demonstrated that only when I/O bandwidth and read-parallelism to the data source or broker are sufficiently high do additional compute resources improve performance.
  • Resource management is critical: imbalanced configurations—especially between data ingestion and processing—create bottlenecks, with processing often being the limiting factor.
  • The overhead of dynamically launching Kafka, Dask, and Spark clusters is outweighed by benefits in flexibility, resource isolation, and independent scaling of components.
  • The Streaming Mini-Apps enabled effective simulation of diverse application behaviors, including adaptive sampling and varying processing algorithms, facilitating performance analysis and optimization.
  • The combinatorial complexity of optimizing streaming pipelines necessitates automated tools, which Pilot-Streaming and the Mini-Apps together provide as a foundation for future performance modeling and machine learning-based prediction.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.