Flux: An adaptive partitioning operator for continuous query systems

被引:102
作者
Shah, MA [1 ]
Hellerstein, JM [1 ]
Chandrasekaran, S [1 ]
Franklin, MJ [1 ]
机构
[1] Univ Calif Berkeley, Berkeley, CA 94720 USA
来源
19TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS | 2003年
关键词
D O I
10.1109/ICDE.2003.1260779
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The long-running nature of continuous queries poses new scalability challenges for dataflow processing. CQ systems execute pipelined dataflows that may be shared across multiple queries. The scalability of these dataflows is limited by their constituent, stateful operators - e.g. windowed joins or grouping operators. To scale such operators, a natural solution is to partition them across a shared-nothing platform. But in the CQ context, traditional, static techniques for partitioned parallelism can exhibit detrimental imbalances as workload and runtime conditions evolve. Long-running CQ dataflows must continue to function robustly in the face of these imbalances. To address this challenge, we introduce a dataflow operator called Flux that encapsulates adaptive state partitioning and dataflow routing. Flux is placed between producer-consumer stages in a dataflow pipeline to repartition stateful operators while the pipeline is still executing. We present the Flux architecture, along with repartitioning policies that can be used for CQ operators under shifting processing and memory loads. We show that the Flux mechanism and these policies can provide several factors improvement in throughput and orders of magnitude improvement in average latency over the static case.
引用
收藏
页码:25 / 36
页数:12
相关论文
共 29 条
[1]  
[Anonymous], VLDB
[2]  
ARPACIDUSSEAU AC, 1997, SIGMOD
[3]  
ARPACIDUSSEAU R, 1999, IOPADS MAY
[4]  
ATINEL M, 2000, VLDB
[5]  
Avnur R., 2000, SIGMOD
[6]  
BRATBERGSENGEN K, 1984, VLDB
[7]  
CARNEY D, 2002, VLDB
[8]  
Chandrasekaran S., 2002, VLDB
[9]  
CHANDRASKARAN S, 2003, CIDR
[10]  
CHEN J, 2000, SIGMOD