Skip to content

Flagship Journal

JICSE

Journal of Intelligent Computing and System Engineering

Research Articles

Shard Migration without Stale Reads: Correlated Delays

Mara Eastmarsh (Ivermere Institute for Integrated Computing), Mara Glenwick (Cairnwell Systems Research Centre)

Vol. 2 No. 1 (2017) · pp. 99–111 · Published 20 July 2017

Abstract

This synthetic study compares checking a version fence before redirecting reads with redirecting when the destination acknowledges the copy. The two configurations see the same 192 cases, including 48 stress cases in which nearby events share a source of delay, concentrating difficult cases in the same interval. 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 159 of 192 cases and the comparator passes 151. In the stress subset, the two configurations pass 28 and 27 of 48 cases, respectively. The alternative improves the overall pass rate by 4.2 percentage points. A limitation of the design is that extra validation can delay cutover while updates continue. The practical question is whether the observed difference survives a change in the case mix. Before applying the result, an independent evaluation should preserve the budget and measure the work required to handle failures.

Keywords: distributed architectures, correlated delays, comparative evaluation, synthetic findings

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. Source
  2. Dean, J., & Barroso, L. A. (2013). The tail at scale. Communications of the ACM, 56(2), 74–80. Source
  3. Dean, J., & Ghemawat, S. (2004). MapReduce: Simplified data processing on large clusters. 6th USENIX Symposium on Operating Systems Design and Implementation, 137–150. Source
  4. 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
  5. Gray, J. (1978). Notes on data base operating systems. Operating Systems: An Advanced Course, Lecture Notes in Computer Science, 60, 393–481. Springer. Source
  6. Lamport, L. (1978). Time, clocks, and the ordering of events in a distributed system. Communications of the ACM, 21(7), 558–565. Source
  7. Liskov, B., & Cowling, J. (2012). Viewstamped replication revisited. MIT CSAIL Technical Report MIT-CSAIL-TR-2012-021. Source
  8. Ongaro, D., & Ousterhout, J. (2014). In search of an understandable consensus algorithm. 2014 USENIX Annual Technical Conference, 305–319. Source
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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