Research Articles
Compatibility Checks for Evolving Event Interfaces: Cold Starts
Zoya Oakmarsh (Northfen Centre for Distributed Computing)
Vol. 7 No. 1 (2022) · pp. 1–16 · Published 10 February 2022
Abstract
We consider two ways to address the same system requirement: replaying old and new consumers against the same events and testing only the most recent consumer version. The comparison uses synthetic cases. The two configurations see the same 192 cases, including 48 stress cases in which some trials begin with empty local state and others begin with state carried over from prior work. A case passes if both consumers interpret the event in accordance with their contract. Both configurations receive the same input events and begin from the same authorized state. The reference result is specified at the system boundary rather than inferred from a single component’s response. A local success is not counted if a downstream component interprets the result incorrectly. The alternative passes 139 of 192 cases and the comparator passes 127. In the stress subset, the two configurations pass 26 and 21 of 48 cases, respectively. The alternative improves the overall pass rate by 6.2 percentage points. A limitation of the design is that format checks cannot determine whether a field still has the same meaning. This exercise isolates the stated configuration change. It does not show that the same choice would improve a different deployment, especially where the measurement interval or composition of the workload differs.
Keywords: systems integration, cold starts, paired replay, synthetic findings
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. Source
- 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. Source
- Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785–794. Source
- Crankshaw, D., Wang, X., Zhou, G., Franklin, M. J., Gonzalez, J. E., & Stoica, I. (2017). Clipper: A low-latency online prediction serving system. 14th USENIX Symposium on Networked Systems Design and Implementation, 613–627. Source
- Dean, J., & Barroso, L. A. (2013). The tail at scale. Communications of the ACM, 56(2), 74–80. Source
- Dean, J., & Ghemawat, S. (2004). MapReduce: Simplified data processing on large clusters. 6th USENIX Symposium on Operating Systems Design and Implementation, 137–150. Source
- DeCandia, G., Hastorun, D., Jampani, M., Kakulapati, G., Lakshman, A., Pilchin, A., Sivasubramanian, S., Vosshall, P., & Vogels, W. (2007). Dynamo: Amazon’s highly available key-value store. Proceedings of the 21st ACM Symposium on Operating Systems Principles, 205–220. Source
- Gray, J. (1978). Notes on data base operating systems. Operating Systems: An Advanced Course, Lecture Notes in Computer Science, 60, 393–481. Springer. Source
- Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). On calibration of modern neural networks. Proceedings of the 34th International Conference on Machine Learning, PMLR 70, 1321–1330. Source
- Liskov, B., & Cowling, J. (2012). Viewstamped replication revisited. MIT CSAIL Technical Report MIT-CSAIL-TR-2012-021. Source
- Mnih, V., Kavukcuoglu, K., Silver, D., Rusu, A. A., Veness, J., Bellemare, M. G., Graves, A., Riedmiller, M., Fidjeland, A. K., Ostrovski, G., Petersen, S., Beattie, C., Sadik, A., Antonoglou, I., King, H., Kumaran, D., Wierstra, D., Legg, S., & Hassabis, D. (2015). Human-level control through deep reinforcement learning. Nature, 518, 529–533. Source
- Ongaro, D., & Ousterhout, J. (2014). In search of an understandable consensus algorithm. 2014 USENIX Annual Technical Conference, 305–319. Source
- Sculley, D., Holt, G., Golovin, D., Davydov, E., Phillips, T., Ebner, D., Chaudhary, V., Young, M., Crespo, J.-F., & Dennison, D. (2015). Hidden technical debt in machine learning systems. Advances in Neural Information Processing Systems, 28, 2503–2511. Source
- Zaharia, M., Chowdhury, M., Das, T., Dave, A., Ma, J., McCauley, M., Franklin, M. J., Shenker, S., & Stoica, I. (2012). Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing. 9th USENIX Symposium on Networked Systems Design and Implementation, 15–28. Source
