Research Articles
Shard Migration without Stale Reads: Changing Load
Imani Ternwell (Valehart School of Engineering), Zoya Finchmere (Havenford Institute of Technology), Paloma Glenwick (Northfen Centre for Distributed Computing), Kenji Kestrelby (Larkmere University)
Vol. 6 No. 1 (2021) · pp. 49–61 · Published 14 April 2021
Abstract
We consider two ways to address the same system requirement: checking a version fence before redirecting reads and redirecting when the destination acknowledges the copy. The comparison uses synthetic cases. The two configurations see the same 160 cases, including 40 stress cases in which a mid-run change alters the relation between the tuning cases and the later test cases. A case passes if the reader observes a current value or an explicit retry. The replay fixes both input order and component availability across the two configurations. Work accepted but not completed remains in the denominator. This distinguishes a genuine improvement in end-to-end operation from a local improvement obtained by shifting unfinished work to another component. The alternative passes 131 of 160 cases and the comparator passes 116. In the stress subset, the two configurations pass 30 and 22 of 40 cases, respectively. The alternative improves the overall pass rate by 9.4 percentage points. A limitation of the design is that extra validation can delay cutover while updates continue. The pass counts summarize the chosen test conditions. Reporting both subsets makes it possible to see whether apparent improvement in routine operation carries over to the cases that place the greatest stress on the design.
Keywords: distributed architectures, changing load, 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
- Chang, F., Dean, J., Ghemawat, S., Hsieh, W. C., Wallach, D. A., Burrows, M., Chandra, T., Fikes, A., & Gruber, R. E. (2008). Bigtable: A distributed storage system for structured data. ACM Transactions on Computer Systems, 26(2), Article 4. 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
- Gilbert, S., & Lynch, N. (2002). Brewer’s conjecture and the feasibility of consistent, available, partition-tolerant web services. ACM SIGACT News, 33(2), 51–59. Source
- Lamport, L. (1978). Time, clocks, and the ordering of events in a distributed system. Communications of the ACM, 21(7), 558–565. Source
- Liskov, B., & Cowling, J. (2012). Viewstamped replication revisited. MIT CSAIL Technical Report MIT-CSAIL-TR-2012-021. Source
- Ongaro, D., & Ousterhout, J. (2014). In search of an understandable consensus algorithm. 2014 USENIX Annual Technical Conference, 305–319. Source
- Saltzer, J. H., Reed, D. P., & Clark, D. D. (1984). End-to-end arguments in system design. ACM Transactions on Computer Systems, 2(4), 277–288. 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
- Sigelman, B. H., Barroso, L. A., Burrows, M., Stephenson, P., Plakal, M., Beaver, D., Jaspan, S., & Shanbhag, C. (2010). Dapper, a large-scale distributed systems tracing infrastructure. Google Technical Report. Source
- Verma, A., Pedrosa, L., Korupolu, M., Oppenheimer, D., Tune, E., & Wilkes, J. (2015). Large-scale cluster management at Google with Borg. Proceedings of the Tenth European Conference on Computer Systems, Article 18. 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
