Skip to content

Research Articles

Idempotent Backfills under Live Ingestion: Clustered Exceptions

Nadia Iverford (Data Engineering Group, Valehart Institute of Computational Science), Beatriz Cairnwell (Autonomous Systems Laboratory, Kestrelby Institute of Technology)

Vol. 6 No. 1 (2025) · pp. 116–128 · Published 12 August 2025

Abstract

The comparison uses a burst of exceptions concentrated in a short interval 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 160 cases. In the 40 stress cases, live writes must overlap the backfill interval; the difficult conditions occur in contiguous runs rather than being spread across cases. 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 129 of 160 cases, versus 125 for the comparator. In the stress subset, the respective counts are 32 and 25 of 40. The alternative exceeds the comparator overall by 2.5 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, clustered exceptions, 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. Blum, A., Ligett, K., & Roth, A. (2008). A learning theory approach to non-interactive database privacy. Proceedings of the 40th ACM Symposium on Theory of Computing, 609–618.
  3. 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
  4. Edelkamp, S. (2001). Planning with pattern databases. Proceedings of the 6th European Conference on Planning, 13–24.
  5. Edge, D., et al. (2024). From local to global: A graph RAG approach to query-focused summarization. arXiv:2404.16130.
  6. Hastie, T., Tibshirani, R., & Friedman, J. (2009). The elements of statistical learning: Data mining, inference, and prediction (2nd ed.). Springer.
  7. 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.
  8. Lee, K., Chang, M.-W., & Toutanova, K. (2019). Latent retrieval for weakly supervised open domain question answering. Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 6086–6096.
  9. Li, T., Tian, Y., Li, H., Deng, M., & He, K. (2024). Autoregressive image generation without vector quantization. arXiv:2406.11838.
  10. Malkov, Y. A., & Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. arXiv:1603.09320. arXiv
  11. 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.
  12. Moody, G. B., & Mark, R. G. (2001). The impact of the MIT-BIH arrhythmia database. IEEE Engineering in Medicine and Biology Magazine, 20(3), 45–50.
  13. 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.
  14. 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.