Research Articles
Idempotent Backfills under Live Ingestion: Cold Versus Warm Runs
Kavi Hartfen (Data Engineering Group, Kestrelby Institute of Technology), Leila Belmere (Data Engineering Group, Thornmere Polytechnic)
Vol. 4 No. 1 (2023) · pp. 108–120 · Published 4 August 2023
Abstract
For a mix of fresh-start and steady-state trials, we construct a synthetic comparison between reconciling updates through stable source identifiers and blindly appending each retried batch. Each configuration is evaluated on the same 256 cases. In the 64 stress cases, live writes must overlap the backfill interval; 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: all expected keys must appear without unintended duplicate contributions. 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 199 of 256 cases, versus 188 for the comparator. In the stress subset, the respective counts are 52 and 42 of 64. The alternative exceeds the comparator overall by 4.3 percentage points. The practical trade-off is that stable identifiers may be unavailable in older exports. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.
Keywords: backfills, ingestion, idempotency, cold versus warm runs, synthetic evaluation
References
- Agrawal, S., et al. (2004). Database Tuning Advisor for Microsoft SQL Server 2005. Proceedings of the 30th International Conference on Very Large Data Bases, 1110–1121.
- 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
- Hsu, C.-W., Chang, C.-C., & Lin, C.-J. (2003). A practical guide to support vector classification (Technical report). National Taiwan University.
- Huang, G. B., Ramesh, M., Berg, T., & Learned-Miller, E. (2007). Labeled faces in the wild: A database for studying face recognition in unconstrained environments (Technical Report 07-49). University of Massachusetts, Amherst.
- Kumar, R., Novak, J., Pang, B., & Tomkins, A. (2007). On anonymizing query logs via token-based hashing. Proceedings of the 16th International Conference on World Wide Web, 629–638.
- Li, C., Hay, M., Rastogi, V., Miklau, G., & McGregor, A. (2010). Optimizing linear counting queries under differential privacy. Proceedings of the 29th ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, 123–134.
- Luan, Y., Eisenstein, J., Toutanova, K., & Collins, M. (2020). Sparse, dense, and attentional representations for text retrieval. arXiv:2005.00181.
- 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.
- Murray, D. G., McSherry, F., Isaacs, R., Isard, M., Barham, P., & Abadi, M. (2013). Naiad: A timely dataflow system. Proceedings of the 24th ACM Symposium on Operating Systems Principles, 439–455.
- Panda, B., Herbach, J. S., Basu, S., & Bayardo, R. J. (2009). PLANET: Massively parallel learning of tree ensembles with MapReduce. Proceedings of the VLDB Endowment, 2(2), 1426–1437.
- Socher, R., Huval, B., Manning, C. D., & Ng, A. Y. (2012). Semantic compositionality through recursive matrix-vector spaces. Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, 1201–1211.
- Verma, A., Cherkasova, L., & Campbell, R. H. (2011). ARIA: Automatic resource inference and allocation for MapReduce environments. Proceedings of the 8th ACM International Conference on Autonomic Computing, 235–244.
- Zhang, H., Ananthanarayanan, G., Bodik, P., Philipose, M., Bahl, P., & Freedman, M. J. (2017). Live video analytics at scale with approximation and delay-tolerance. Proceedings of the 14th USENIX Symposium on Networked Systems Design and Implementation, 377–392.
