Claypool

Courses

Publications

Students

Projects

Service

Downloads

Misc


Teddies: Trained Eddies for Reactive Stream Processing

Teddies: Trained Eddies for Reactive Stream Processing


Kajal Claypool and Mark Claypool

In Proceedings of the 13th International Conference on Database Systems for Advanced Applications (DASFAA)
pages 220-234
New Delhi, India
March 19-21, 2008


In this paper, we present an adaptive stream query processor, Teddies, that combines the key advantages of the Eddies system with the scalability of the more traditional dataflow model. In particular, we introduce the notion of adaptive packetization of tuples to overcome the large memory requirements of the Eddies system. The Teddies optimizer groups tuples with the same history into data packets which are then scheduled on a per packet basis through the query tree. Corresponding to the introduction of this second dimension - the packet granularity - we propose an adaptive scheduler that can react to not only the varying statistics of the input streams and the selectivity of the operators, but also to the fluctuations in the internal packet sizes. The scheduler degrades to the Eddies scheduler in the worst case scenario. We present experimental results that compare both the reaction time as well as the scalability of the Teddies system with the Eddies and the data flow systems, and classify the conditions under which the Teddies' simple packet optimizer strategy outperforms the per-tuple Eddies optimizer strategy.


Download: