Towards Concurrent Stateful Stream Processing on Multicore Processors
Shuhao Zhang, Yingjun Wu, Feng Zhang, Bingsheng He
摘要
Recent data stream processing systems (DSPSs) can achieve excellent performance when processing large volumes of data under tight latency constraints. However, they sacrifice support for concurrent state access that eases the burden of developing stateful stream applications. Recently, some have proposed managing concurrent state access during stream processing by modeling state accesses as transactions. However, these are realized with locks involving serious contention overhead. The coarse-grained processing paradigm adopted in these proposals magnify contention issues and does not exploit modern multicore architectures to their full potential. This paper introduces TStream, a novel DSPS supporting efficient concurrent state access on multicore processors. Transactional semantics is employed like previous work, but scalability is greatly improved due to two novel designs: 1) dual-mode scheduling, which exposes more parallelism opportunities, 2) dynamic restructuring execution, which aggressively exploits the parallelism opportunities from dual-mode scheduling without centralized lock contentions. To validate our proposal, we evaluate TStream with a benchmark of four applications on a modern multicore machine. Experimental results show that 1) TStream achieves up to 4.8 times higher throughput with similar processing latency compared to the state-of-the-art and 2) unlike prior solutions, TStream is highly tolerant of varying application workloads such as key skewness and multi-partition state accesses.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper3
- Parallelizing Stream Compression for IoT Applications on Asymmetric MulticoresXianzhi Zeng, Shuhao ZhangICDE 2023 · 被引用 10 次
- S-QUERY: Opening the Black Box of Internal Stream Processor StateJim Verheijde, Vassilios Karakoidas, Marios Fragkoulis, Asterios KatsifodimosICDE 2022 · 被引用 5 次
- Fast Parallel Recovery for Transactional Stream Processing on MulticoresJianjun Zhao, Haikun Liu, Shuhao Zhang, Zhuohui Duan 等ICDE 2024 · 被引用 3 次
相关 Paper
- MorphStream: Adaptive Scheduling for Scalable Transactional Stream Processing on MulticoresYancan Mao, Jianjun Zhao, Shuhao Zhang, Haikun Liu 等SIGMOD 2023 · 被引用 13 次
- FineStream: Fine-Grained Window-Based Stream Processing on CPU-GPU Integrated ArchitecturesFeng Zhang, Lin Yang, Shuhao Zhang, Bingsheng He 等USENIX ATC 2020 · 被引用 41 次
- Shared Arrangements: practical inter-query sharing for streaming dataflowsFrank McSherry, Andrea Lattuada, Malte Schwarzkopf, Timothy RoscoeVLDB 2020 · 被引用 25 次
- Meces: Latency-efficient Rescaling via Prioritized State Migration for Stateful Distributed Stream Processing SystemsRong Gu, Han Yin, Weichang Zhong, Chunfeng Yuan 等USENIX ATC 2022 · 被引用 22 次
- Stream processing with dependency-guided synchronizationKonstantinos Kallas, Filip Niksic, Caleb Stanford, Rajeev AlurPPoPP 2022 · 被引用 4 次
