NebulaStream: An Adaptive and Efficient Multi-Query Stream Processing Engine
Nils L. Schubert, Lukas Schwerdtfeger, Sara Schnaterbeck, Philipp M. Grulich, Bonaventura Del Monte, Steffen Zeuch, Volker Markl
Abstract
Existing Stream Processing Engines (SPEs), designed for scale-out in the cloud, often overlook the need for scaleup performance on heterogeneous hardware. As a result, they provide latency and throughput guarantees at the expense of high overhead on system resources, for example, memory and CPU usage. This over-provisioning is tolerable in cloud environments where resources are generously available. However, it is detrimental for low-end devices that are becoming increasingly common in today's cloud-edge environments. In this paper, we present the architecture of our adaptive and efficient multi-query stream processing engine, which is the core of the open-source system NebulaStream. Our engine is optimized for resource-constrained devices and their special requirements. In particular, our engine achieves better hardware utilization due to several key engine design decisions: 1) a task-based execution model for multi-query, scale-up execution based on an order-aware data flow model, 2) work-stealing-aware operators using hardware-tailored code generation, 3) runtime compute caching, and 4) work-stealing-aware state management. As a result, our novel engine outperforms general-purpose systems by at least one order of magnitude, executes hundreds of queries in parallel without performance degradation, and seamlessly reacts to fluctuating ingestion rates.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Related papers
- Costream: Learned Cost Models for Operator Placement in Edge-Cloud EnvironmentsRoman Heinrich, Carsten Binnig, Harald Kornmayer, Manisha LuthraICDE 2024 · 10 citations
- Enjima: A Resource-Adaptive Stream Processing SystemLasantha Fernando, Taebin Kim, Khuzaima Daudjee, Tilmann RablSIGMOD 2026
- DART: A Scalable and Adaptive Edge Stream Processing EnginePinchao Liu, Dilma Da Silva, Liting HuUSENIX ATC 2021 · 36 citations
- Grizzly: Efficient Stream Processing Through Adaptive Query CompilationPhilipp M. Grulich, Sebastian Breß, Steffen Zeuch, Jonas Traub et al.SIGMOD 2020 · 41 citations
- TiLT: A Time-Centric Approach for Stream Query Optimization and ParallelizationAnand Jayarajan, Wei Zhao, Yudi Sun, Gennady PekhimenkoASPLOS 2023 · 6 citations
