Research Articles
Late-Event Handling in Streaming Aggregates: Bursty Inputs
Uma Ravenmere (Machine Learning Laboratory, Kestrelby Institute of Technology), Amina Valehart (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing), Lina Oakhaven (Data Engineering Group, Glenwick University), Noor Pinewick (Machine Learning Laboratory, Thornmere Polytechnic), Amari Vesperwick (Distributed Systems Group, Thornmere Polytechnic)
Vol. 4 No. 1 (2023) · pp. 161–173 · Published 16 November 2023
Abstract
For an input stream alternating between quiet periods and peaks, we construct a synthetic comparison between estimating lateness separately by producer and using a single watermark delay. Each configuration is evaluated on the same 120 cases. In the 30 stress cases, one producer must become delayed without stopping; peak and quiet intervals are retained at their original lengths rather than being normalized to the same arrival rate. 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 comparator passes 85 of 120 cases and the alternative passes 85. For the 30 stress cases alone, the counts are 12 and 15, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that longer windows protect completeness but delay publication. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.
Keywords: stream processing, watermarks, event time, bursty inputs, synthetic evaluation
References
- 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
- 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
- Chandrasekaran, S., et al. (2003). TelegraphCQ: Continuous dataflow processing for an uncertain world. Proceedings of the First Biennial Conference on Innovative Data Systems Research.
- 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.
- Dean, J., & Ghemawat, S. (2008). MapReduce: Simplified data processing on large clusters. Communications of the ACM, 51(1), 107–113.
- Ester, M., Kriegel, H.-P., Sander, J., & Xu, X. (1996). A density-based algorithm for discovering clusters in large spatial databases with noise. Proceedings of the Second International Conference on Knowledge Discovery and Data Mining, 226–231.
- Kreps, J., Narkhede, N., & Rao, J. (2011). Kafka: A distributed messaging system for log processing. Proceedings of the NetDB Workshop.
- 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.
- Malkov, Y. A., & Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. arXiv:1603.09320. arXiv
- 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.
- 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.
- 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.
- 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.
- Santhanam, K., Khattab, O., Saad-Falcon, J., Potts, C., & Zaharia, M. (2021). ColBERTv2: Effective and efficient retrieval via lightweight late interaction. arXiv:2112.01488.
- Yin, P., Neubig, G., Yih, W.-t., & Riedel, S. (2020). TaBERT: Pretraining for joint understanding of textual and tabular data. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 8413–8426.
- Zaharia, M., Chowdhury, M., Franklin, M. J., Shenker, S., & Stoica, I. (2010). Spark: Cluster computing with working sets. Proceedings of the 2nd USENIX Workshop on Hot Topics in Cloud Computing.
- Zaharia, M., et al. (2016). Apache Spark: A unified engine for big data processing. Communications of the ACM, 59(11), 56–65.
