zikun wang 王紫坤

Adaptive Streaming System

Mechanisms and policies for efficiently scaling streaming workloads at runtime.

Data stream processing applications are long-running and deployed as a dataflow of operator tasks spread across physical workers. Two challenges make them hard to run efficiently:

Policy: Choosing a good configuration is hard. Operators have diverse resource requirements, and co-locating tasks that compete for the same resource — CPU, disk I/O, or network — creates contention that cripples throughput. The search space is enormous (millions of candidate plans for even a handful of operators on a few workers), and existing approaches fall short: random placement (e.g., Flink’s default) often lands on poor plans, while ILP-based methods are too slow for online use and hard to extend with richer objectives.

Adaptive Streaming System
Runtime reconfiguration of a streaming dataflow causes downtime due to state migration overhead.

Mechanism: Changing the configuration at runtime is disruptive. Workloads are dynamic and unpredictable, so any initial configuration eventually drifts out of tune — input rates spike, data skews, or a host becomes unavailable — forcing frequent reconfiguration. Yet today’s mechanisms all stall the pipeline to do it: stop-and-restart pauses execution to drain in-flight data, and stateful rescaling blocks to flush and migrate operator state (which can be many gigabytes). The result is system downtime precisely when the system most needs to adapt.

This project addresses both the policy and the mechanism. For the placement policy, see the CAPSys publication and the task-placement poster below. For the zero-downtime reconfiguration mechanism, see the reconfiguration poster; the workload-scaling poster covers the scaling policy that drives it.

Publication

CAPSys: Contention-aware task placement for data stream processing Yuanli Wang, Lei Huang, Zikun Wang, Vasiliki Kalavri, Ibrahim Matta EuroSys 2025

Posters

Zero-downtime reconfiguration mechanisms for dynamic data stream processing North East Database Day 2025 Jan 9, 2025
Effective Workload Scaling in Streaming System The 27th Annual Undergraduate Research Symposium at Boston University Oct 18, 2024
Automatic Task Placement Decisions for High-throughput and Resource-efficient Data Stream Processing North East Database Day 2024 May 23, 2024

← Back to home