Work

Larger-Than-Memory Stateful Stream Processing with WindFlow

Year: 2025
Type: article
Abstract: In the stream processing paradigm, a huge volume of data is continu- ously processed by standing queries that extract insights from raw inputs. Such queries often keep an internal state (representing useful information of the stream history) to produce results. Examples of state paradigms are notably sliding win- dows, where computation is periodically repeated over the last received data (e.g., inputs received in the last ten seconds sliding every half a second). Furthermore, such a state is replicated per distinct key, which is a user-defined attribute used to partition the same physical stream into logical sub-streams. The combination of several keys (often millions in real-world scenarios), and the window size, make the overall state of a streaming query huge and potentially greater than the avail- able memory. This is particularly critical in small low-end devices where stream analyses might be run to analyze data closer to data producers, like in the Edge computing paradigm. In this paper, we focus on this problem and on how a popu- lar Key-Value Store (KVS) can be integrated into the WindFlow stream processing library. The idea is to design a new set of persistent operators able to transpar- ently move state objects in secondary memory without manual user intervention. The paper shows our design and implementation, and an experimental evaluation based on a set of benchmarks.
Institution: University of Pisa
Language: English
Open Access status: green
OpenAlex ID: W4407943919
FWCI: 0.396
Cites: 15
Cited by: 1
Related to: 9