Research Articles
Schema Evolution with Staggered Consumers: Concurrent Changes
Saira Cairnwell (Data Engineering Group, Glenwick University), Lina Larkmere (Data Engineering Group, Eastmarsh Institute for Applied Computing), Juno Havenford (Data Engineering Group, Eastmarsh Institute for Applied Computing)
Vol. 1 No. 1 (2020) · pp. 95–110 · Published 2 August 2020
Abstract
For a test fixture with overlapping transitions, we construct a synthetic comparison between checking backward and forward compatibility per consumer version and validating only against the latest schema. Each configuration is evaluated on the same 160 cases. In the 40 stress cases, a default value must have changed meaning between versions; 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: 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. Across the full set, 108 cases meet the criterion with the first configuration and 104 with the second. The stress cases account for 23 and 17 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 syntactic compatibility cannot establish semantic compatibility. The paired design makes the comparison interpretable within the fixture. It does not establish the size of the effect in an independent deployment.
Keywords: schemas, interoperability, governance, 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
- Aumüller, M., Bernhardsson, E., & Faithfull, A. (2017). ANN-Benchmarks: A benchmarking tool for approximate nearest neighbor algorithms. Similarity Search and Applications (SISAP 2017), Lecture Notes in Computer Science, 10609, 34–49.
- 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.
- 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.
- Johnson, A. E. W., et al. (2019). MIMIC-CXR, a de-identified publicly available database of chest radiographs with free-text reports. Scientific Data, 6, Article 317.
- Klimovic, A., Wang, Y., Stuedi, P., Trivedi, A., Pfefferle, J., & Kozyrakis, C. (2018). Pocket: Elastic ephemeral storage for serverless analytics. Proceedings of the 13th USENIX Symposium on Operating Systems Design and Implementation, 427–444.
- Malkov, Y. A., & Yashunin, D. A. (2016). Efficient and robust approximate nearest neighbor search using hierarchical navigable small world graphs. arXiv:1603.09320. arXiv
- McCann, B., Bradbury, J., Xiong, C., & Socher, R. (2017). Learned in translation: Contextualized word vectors. Advances in Neural Information Processing Systems, 30, 6294–6305.
- Pennington, J., Socher, R., & Manning, C. D. (2014). GloVe: Global vectors for word representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing, 1532–1543.
- 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.
- Schuster, F., et al. (2015). VC3: Trustworthy data analytics in the cloud using SGX. Proceedings of the 2015 IEEE Symposium on Security and Privacy, 38–54.
- Wang, X., Peng, Y., Lu, L., Lu, Z., Bagheri, M., & Summers, R. M. (2017). ChestX-ray8: Hospital-scale chest X-ray database and benchmarks on weakly-supervised classification and localization of common thorax diseases. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2097–2106.
- Wang, Z., Qian, H., Li, J., & Chen, H. (2014). Using restricted transactional memory to build a scalable in-memory database. Proceedings of the Ninth European Conference on Computer Systems, Article 26.
- Zhang, K., Zhang, Z., Li, Z., & Qiao, Y. (2016). Joint face detection and alignment using multitask cascaded convolutional networks. IEEE Signal Processing Letters, 23(10), 1499–1503.
