Research Articles
Schema Evolution with Staggered Consumers: Cold Versus Warm Runs
Talia Crestmere (Data Engineering Group, Thornmere Polytechnic), Niko Ternwell (Autonomous Systems Laboratory, Pinewick School of Engineering)
Vol. 2 No. 1 (2021) · pp. 58–69 · Published 2 June 2021
Abstract
We ask whether checking backward and forward compatibility per consumer version performs better than validating only against the latest schema in a mix of fresh-start and steady-state trials. The evaluation is synthetic. Each configuration is evaluated on the same 200 cases. In the 50 stress cases, a default value must have changed meaning between versions; 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: old and new consumers must interpret an event consistently. 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 161 of 200 cases, versus 150 for the comparator. In the stress subset, the respective counts are 36 and 29 of 50. The alternative exceeds the comparator overall by 5.5 percentage points. The practical trade-off is that syntactic compatibility cannot establish semantic compatibility. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.
Keywords: schemas, interoperability, governance, cold versus warm runs, 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
- Babu, S., Borisov, N., Duan, S., Herodotou, H., & Thummala, V. (2009). Automated experiment-driven management of (database) systems. Proceedings of the 12th Workshop on Hot Topics in Operating Systems.
- 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
- Cai, Q., & Yates, A. (2013). Large-scale semantic parsing via schema matching and lexicon extension. Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics, 423–433.
- Elnahrawy, E., & Nath, B. (2003). Cleaning and querying noisy sensors. Proceedings of the 2nd ACM International Conference on Wireless Sensor Networks and Applications, 78–87.
- Huang, Y., Cheng, Y., Bapna, A., Firat, O., Chen, M. X., Chen, D., Lee, H., Ngiam, J., Le, Q. V., Wu, Y., & Chen, Z. (2019). GPipe: Efficient training of giant neural networks using pipeline parallelism. Advances in Neural Information Processing Systems, 32, 103–112. Published paper
- Kang, D., Emmons, J., Abuzaid, F., Bailis, P., & Zaharia, M. (2017). NoScope: Optimizing neural network queries over video at scale. Proceedings of the VLDB Endowment, 10(11), 1586–1597.
- Karpukhin, V., et al. (2020). Dense passage retrieval for open-domain question answering. Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, 6769–6781.
- Kiros, R., et al. (2015). Skip-thought vectors. Advances in Neural Information Processing Systems, 28, 3294–3302.
- Lewis, P., et al. (2020). Retrieval-augmented generation for knowledge-intensive NLP tasks. Advances in Neural Information Processing Systems, 33, 9459–9474.
- Malkov, Y. A., & Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. arXiv:1603.09320. arXiv
- Riedel, S., Yao, L., McCallum, A., & Marlin, B. M. (2013). Relation extraction with matrix factorization and universal schemas. Proceedings of NAACL-HLT 2013, 74–84.
- Satyanarayanan, M., et al. (2015). Edge analytics in the Internet of Things. IEEE Pervasive Computing, 14(2), 24–31.
- 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.
- Wang, B., Shin, R., Liu, X., Polozov, O., & Richardson, M. (2020). RAT-SQL: Relation-aware schema encoding and linking for text-to-SQL parsers. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, 7567–7578.
- Weinberger, K. Q., & Saul, L. K. (2009). Distance metric learning for large margin nearest neighbor classification. Journal of Machine Learning Research, 10, 207–244.
- 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.
