Harnessing sliding-window execution semantics for parallel stream processing