# Quality-Driven Disorder Handling for M-way Sliding Window Stream Joins

**Authors:** Yuanzhen Ji, Jun Sun, Anisoara Nica, Zbigniew Jerzak, Gregor, Hackenbroich, Christof Fetzer

arXiv: 1703.07617 · 2017-03-23

## TL;DR

This paper introduces a flexible, quality-driven disorder handling method for m-way sliding window stream joins that minimizes latency while maintaining user-defined result quality, outperforming existing approaches.

## Contribution

It proposes a generic buffer-based disorder handling approach with an analytical model to optimize latency-quality tradeoff for sliding window joins.

## Key findings

- Reduces result latency by up to 95% compared to state-of-the-art methods.
- Supports arbitrary join conditions in m-way sliding window joins.
- Maintains specified result quality levels effectively.

## Abstract

Sliding window join is one of the most important operators for stream applications. To produce high quality join results, a stream processing system must deal with the ubiquitous disorder within input streams which is caused by network delay, asynchronous source clocks, etc. Disorder handling involves an inevitable tradeoff between the latency and the quality of produced join results. To meet different requirements of stream applications, it is desirable to provide a user-configurable result-latency vs. result-quality tradeoff. Existing disorder handling approaches either do not provide such configurability, or support only user-specified latency constraints.   In this work, we advocate the idea of quality-driven disorder handling, and propose a buffer-based disorder handling approach for sliding window joins, which minimizes sizes of input-sorting buffers, thus the result latency, while respecting user-specified result-quality requirements. The core of our approach is an analytical model which directly captures the relationship between sizes of input buffers and the produced result quality. Our approach is generic. It supports m-way sliding window joins with arbitrary join conditions. Experiments on real-world and synthetic datasets show that, compared to the state of the art, our approach can reduce the result latency incurred by disorder handling by up to 95% while providing the same level of result quality.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1703.07617/full.md

## Figures

1 figure with captions in the complete paper: https://tomesphere.com/paper/1703.07617/full.md

---
Source: https://tomesphere.com/paper/1703.07617