Research Articles
Idempotent Backfills under Live Ingestion: Concurrent Changes
Kavi Saltmere (Data Engineering Group, Kestrelby Institute of Technology), Anika Ternwell (Machine Learning Laboratory, Glenwick University), Edda Glenwick (Machine Learning Laboratory, Kestrelby Institute of Technology)
Vol. 3 No. 1 (2022) · pp. 106–120 · Published 17 July 2022
Abstract
The comparison uses a test fixture with overlapping transitions to evaluate two choices: reconciling updates through stable source identifiers and blindly appending each retried batch. All outcomes are synthetic. Each configuration is evaluated on the same 180 cases. In the 45 stress cases, live writes must overlap the backfill interval; both changes are replayed together as well as separately to distinguish an interaction from an isolated error. 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. Across the full set, 142 cases meet the criterion with the first configuration and 132 with the second. The stress cases account for 30 and 19 passes, respectively. The stress results should be read alongside the full-set results rather than treated as a general performance guarantee. The practical trade-off is that stable identifiers may be unavailable in older exports. The paired design makes the comparison interpretable within the fixture. It does not establish the size of the effect in an independent deployment.
Keywords: backfills, ingestion, idempotency, concurrent changes, 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
- Guo, J., et al. (2019). Towards complex text-to-SQL in cross-domain database with intermediate representation. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 4524–4535.
- Hajian, S., & Domingo-Ferrer, J. (2013). A methodology for direct and indirect discrimination prevention in data mining. IEEE Transactions on Knowledge and Data Engineering, 25(7), 1445–1459.
- 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.
- Korolova, A., Kenthapadi, K., Mishra, N., & Ntoulas, A. (2009). Releasing search queries and clicks privately. Proceedings of the 18th International Conference on World Wide Web, 171–180.
- Ku, J., Mozifian, M., Lee, J., Harakeh, A., & Waslander, S. L. (2018). Joint 3D proposal generation and object detection from view aggregation. Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, 1–8.
- 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.
- Ma, J., Korotkov, I., Yang, Y., Hall, K., & McDonald, R. (2021). Zero-shot neural passage retrieval via domain-targeted synthetic question generation. Proceedings of the 16th Conference of the European Chapter of the Association for Computational Linguistics, 1075–1088.
- 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.
- Nallapati, R. M., Ahmed, A., Xing, E. P., & Cohen, W. W. (2008). Joint latent topic models for text and citations. Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 542–550.
- Shuster, K., Poff, S., Chen, M., Kiela, D., & Weston, J. (2021). Retrieval augmentation reduces hallucination in conversation. Findings of the Association for Computational Linguistics: EMNLP 2021, 3784–3803.
- 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.
- 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.
- 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.
