Skip to content

Research Articles

Late-Event Handling in Streaming Aggregates: Cold Versus Warm Runs

Celia Alderwick (Data Engineering Group, Glenwick University), Kenji Saltmere (Distributed Systems Group, Ivermere University), Amina Viremont (Data Engineering Group, Kestrelby Institute of Technology), Uma Larkmere (Data Engineering Group, Cairnwell Research Institute)

Vol. 7 No. 1 (2026) · pp. 106–121 · Published 29 August 2026

Abstract

The comparison uses a mix of fresh-start and steady-state trials to evaluate two choices: estimating lateness separately by producer and using a single watermark delay. All outcomes are synthetic. Each configuration is evaluated on the same 256 cases. In the 64 stress cases, one producer must become delayed without stopping; initialization cost is kept in the comparison instead of discarding the first completed trial. A case counts as a pass only if it meets this criterion: published aggregates must agree with the completed replay within the correction budget. The replay retains source versions and arrival order. A reference output built from the complete synthetic history is used to distinguish a fast response from one that is both current and correct. The first configuration passes 181 of 256 cases, versus 165 for the comparator. In the stress subset, the respective counts are 38 and 27 of 64. The alternative exceeds the comparator overall by 6.2 percentage points. The practical trade-off is that longer windows protect completeness but delay publication. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.

Keywords: stream processing, watermarks, event time, cold versus warm runs, synthetic evaluation

References

  1. Akidau, T., Bradshaw, R., Chambers, C., Chernyak, S., Fernández-Moctezuma, R. J., Lax, R., McVeety, S., Mills, D., Perry, F., Schmidt, E., & Whittle, S. (2015). The Dataflow Model: A practical approach to balancing correctness, latency, and cost in massive-scale, unbounded, out-of-order data processing. Proceedings of the VLDB Endowment, 8(12), 1792–1803. DOI
  2. Buneman, P., Khanna, S., & Tan, W.-C. (2001). Why and where: A characterization of data provenance. Database Theory – ICDT 2001, Lecture Notes in Computer Science, 1973, 316–330. Springer. DOI
  3. Chandrasekaran, S., et al. (2003). TelegraphCQ: Continuous dataflow processing for an uncertain world. Proceedings of the First Biennial Conference on Innovative Data Systems Research.
  4. Chen, Y., Alspaugh, S., & Katz, R. (2012). Interactive analytical processing in big data systems: A cross-industry study of MapReduce workloads. Proceedings of the VLDB Endowment, 5(12), 1802–1813.
  5. Dean, J., & Ghemawat, S. (2008). MapReduce: Simplified data processing on large clusters. Communications of the ACM, 51(1), 107–113.
  6. Hunt, A. J., & Black, A. W. (1996). Unit selection in a concatenative speech synthesis system using a large speech database. Proceedings of the IEEE International Conference on Acoustics, Speech, and Signal Processing, 373–376.
  7. Kreps, J., Narkhede, N., & Rao, J. (2011). Kafka: A distributed messaging system for log processing. Proceedings of the NetDB Workshop.
  8. Madden, S. R., Franklin, M. J., Hellerstein, J. M., & Hong, W. (2005). TinyDB: An acquisitional query processing system for sensor networks. ACM Transactions on Database Systems, 30(1), 122–173.
  9. Malkov, Y. A., & Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. arXiv:1603.09320. arXiv
  10. Markl, V., et al. (2004). Robust query processing through progressive optimization. Proceedings of the 2004 ACM SIGMOD International Conference on Management of Data, 659–670.
  11. Motwani, R., et al. (2003). Query processing, resource management, and approximation in a data stream management system. Proceedings of the First Biennial Conference on Innovative Data Systems Research.
  12. Mullapudi, R. T., Adams, A., Sharlet, D., Ragan-Kelley, J., & Fatahalian, K. (2016). Automatically scheduling Halide image processing pipelines. ACM Transactions on Graphics, 35(4), Article 83.
  13. Ragan-Kelley, J., Barnes, C., Adams, A., Paris, S., Durand, F., & Amarasinghe, S. (2013). Halide: A language and compiler for optimizing parallelism, locality, and recomputation in image processing pipelines. Proceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation, 519–530.
  14. Santhanam, K., Khattab, O., Saad-Falcon, J., Potts, C., & Zaharia, M. (2021). ColBERTv2: Effective and efficient retrieval via lightweight late interaction. arXiv:2112.01488.
  15. Sarthi, P., Abdullah, S., Tuli, A., Khanna, S., Goldie, A., & Manning, C. D. (2024). RAPTOR: Recursive abstractive processing for tree-organized retrieval. arXiv:2401.18059.
  16. Sun, Y., Chen, Y., Wang, X., & Tang, X. (2014). Deep learning face representation by joint identification-verification. Advances in Neural Information Processing Systems, 27, 1988–1996.
  17. Zaharia, M., et al. (2016). Apache Spark: A unified engine for big data processing. Communications of the ACM, 59(11), 56–65.