PDSP-Bench: A Benchmarking System for Parallel and Distributed Stream Processing
Pratyush Agnihotri, Boris Koldehofe, Roman Heinrich, Carsten Binnig, Manisha Luthra
TL;DR
PDSP-Bench introduces a benchmarking system for parallel and distributed stream processing in heterogeneous environments, enabling large-scale, diverse workloads and ML-informed evaluation. It features a workload generator, a controller, and a web UI to create realistic PQPs across real-world and synthetic apps, deploy them on diverse hardware, and train/compare learned cost estimators. Through extensive experiments with Apache Flink, the work reveals non-linear effects of parallelism, hardware diversity trade-offs, and data-efficient training strategies for graph-based latency predictors. The system offers a scalable, extensible platform for fair comparison of SPS workloads and optimization approaches, with practical implications for deploying and tuning real-time streaming pipelines.
Abstract
The paper introduces PDSP-Bench, a novel benchmarking system designed for a systematic understanding of performance of parallel stream processing in a distributed environment. Such an understanding is essential for determining how Stream Processing Systems (SPS) use operator parallelism and the available resources to process massive workloads of modern applications. Existing benchmarking systems focus on analyzing SPS using queries with sequential operator pipelines within a homogeneous centralized environment. Quite differently, PDSP-Bench emphasizes the aspects of parallel stream processing in a distributed heterogeneous environment and simultaneously allows the integration of machine learning models for SPS workloads. In our results, we benchmark a well-known SPS, Apache Flink, using parallel query structures derived from real-world applications and synthetic queries to show the capabilities of PDSP-Bench towards parallel stream processing. Moreover, we compare different learned cost models using generated SPS workloads on PDSP-Bench by showcasing their evaluations on model and training efficiency. We present key observations from our experiments using PDSP-Bench that highlight interesting trends given different query workloads, such as non-linearity and paradoxical effects of parallelism on the performance.
