IEEE Transactions on Parallel and Distributed Systems · 2020 · 98 citations · 11 references
ComputingComputer EngineeringComputer ScienceDistributed SystemsParallel ComputingReal-time SystemsData PipelinesEvent-driven ArchitectureLatency OptimizationPerformance TuningReal-time Resource ManagementStream ProcessingLatency MetricsMicro-batch ProcessingPerformance DegradationPerformance Degradation MetricsStream Processing PerformanceStream Processing PipelinesStreaming ArchitecturesThroughput
The increasing need for real-time insights in data sparked the development of multiple stream processing frameworks. Several benchmarking studies were conducted in an effort to form guidelines for identifying the most appropriate framework for a use case. In this article, we extend this research and present the results gathered. In addition to Spark Streaming and Flink, we also include the emerging frameworks Structured Streaming and Kafka Streams. We define four workloads with custom parameter tuning. Each of these is optimized for a certain metric or for measuring performance under specific scenarios such as bursty workloads. We analyze the relationship between latency, throughput, and resource consumption and we measure the performance impact of adding different common operations to the pipeline. To ensure correct latency measurements, we use a single Kafka broker. Our results show that the latency disadvantages of using a micro-batch system are most apparent for stateless operations. With more complex pipelines, customized implementations can give event-driven frameworks a large latency advantage. Due to its micro-batch architecture, Structured Streaming can handle very high throughput at the cost of high latency. Under tight latency SLAs, Flink sustains the highest throughput. Additionally, Flink shows the least performance degradation when confronted with periodic bursts of data. When a burst of data needs to be processed right after startup, however, micro-batch systems catch up faster while event-driven systems output the first events sooner.
11
Matei Zaharia, Tathagata Das, Haoyuan Li et al. · 2013 · 964 citations · Full text
Benchmarking Streaming Computation Engines: Storm, Flink and Spark Streaming
Sanket Chintapalli, Derek Dagit, Bobby Evans et al. · 2016 · 294 citations
State management in Apache Flink®
Paris Carbone, Stephan Ewen, Gyula Fóra et al. · Proceedings of the VLDB Endowment · 2017 · 237 citations
Michael Armbrust, Tathagata Das, Joseph Torres et al. · 2018 · 190 citations