Skip to content

Research Articles

Resuming Stateful Services after Node Loss: Changing Conditions

Kian Larchvale (Distributed Systems Group, Pinewick School of Engineering)

Vol. 1 No. 1 (2018) · pp. 28–42 · Published 28 June 2018

Abstract

We ask whether storing a consistent incremental snapshot with a bounded replay log performs better than restarting from periodic full snapshots in an operating profile that changes halfway through each run. The evaluation is synthetic. Each configuration is evaluated on the same 256 cases. In the 64 stress cases, failures must occur while a snapshot is being committed; the final part of each run is deliberately drawn from a different regime than the initial calibration cases. A case counts as a pass only if it meets this criterion: a recovered state must match the test oracle before the recovery deadline. Each pair receives the same workload and interruption schedule. Results include timed-out requests and unfinished recovery attempts, preventing either configuration from appearing faster by dropping difficult work. The comparator passes 194 of 256 cases and the alternative passes 209. For the 64 stress cases alone, the counts are 40 and 56, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that incremental snapshots distribute write cost but complicate restore order. The result describes the chosen case mix. Before applying the finding, a follow-up benchmark would need to vary the share of difficult cases without relaxing the acceptance criteria.

Keywords: fault tolerance, snapshots, recovery, changing conditions, synthetic evaluation

References

  1. Akidau, T., et al. (2013). MillWheel: Fault-tolerant stream processing at internet scale. Proceedings of the VLDB Endowment, 6(11), 1033–1044.
  2. Arulraj, J., Pavlo, A., & Dulloor, S. R. (2015). Let's talk about storage & recovery methods for non-volatile memory database systems. Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data, 707–722.
  3. Balazinska, M., Balakrishnan, H., Madden, S., & Stonebraker, M. (2005). Fault-tolerance in the Borealis distributed stream processing system. Proceedings of the 2005 ACM SIGMOD International Conference on Management of Data, 13–24.
  4. Castro, M., & Liskov, B. (1999). Practical Byzantine fault tolerance. Proceedings of the Third Symposium on Operating Systems Design and Implementation, 173–186.
  5. Choromanska, A., Henaff, M., Mathieu, M., Ben Arous, G., & LeCun, Y. (2014). The loss surfaces of multilayer networks. arXiv:1412.0233.
  6. Fu, Q., Lou, J.-G., Wang, Y., & Li, J. (2009). Execution anomaly detection in distributed systems through unstructured log analysis. Proceedings of the 9th IEEE International Conference on Data Mining, 149–158.
  7. Grover, A., & Leskovec, J. (2016). node2vec: Scalable feature learning for networks. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 855–864.
  8. Kreps, J., Narkhede, N., & Rao, J. (2011). Kafka: A distributed messaging system for log processing. Proceedings of the NetDB Workshop.
  9. Krishnamachari, B., & Iyengar, S. (2004). Distributed Bayesian algorithms for fault-tolerant event region detection in wireless sensor networks. IEEE Transactions on Computers, 53(3), 241–250.
  10. Merkel, D. (2014). Docker: Lightweight Linux containers for consistent development and deployment. Linux Journal, 2014(239), Article 2.
  11. Mohan, C., Haderle, D., Lindsay, B., Pirahesh, H., & Schwarz, P. (1992). ARIES: A transaction recovery method supporting fine-granularity locking and partial rollbacks using write-ahead logging. ACM Transactions on Database Systems, 17(1), 94–162.
  12. Patrini, G., Rozza, A., Krishna Menon, A., Nock, R., & Qu, L. (2017). Making deep neural networks robust to label noise: A loss correction approach. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 1944–1952.
  13. Rinard, M. (2006). Probabilistic accuracy bounds for fault-tolerant computations that discard tasks. Proceedings of the 20th Annual International Conference on Supercomputing, 324–334.
  14. Zaharia, M., Das, T., Li, H., Hunter, T., Shenker, S., & Stoica, I. (2013). Discretized streams: Fault-tolerant streaming computation at scale. Proceedings of the 24th ACM Symposium on Operating Systems Principles, 423–438.
  15. Zaharia, M., et al. (2012). Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing. Proceedings of the 9th USENIX Symposium on Networked Systems Design and Implementation, 15–28.
  16. Zhou, Z., Liu, F., Xu, Y., Zou, R., Xu, H., Lui, J. C. S., & Jin, H. (2013). Carbon-aware load balancing for geo-distributed cloud services. Proceedings of the IEEE 21st International Symposium on Modelling, Analysis and Simulation of Computer and Telecommunication Systems, 232–241.
  17. Zhu, J.-Y., Park, T., Isola, P., & Efros, A. A. (2017). Unpaired image-to-image translation using cycle-consistent adversarial networks. Proceedings of the IEEE International Conference on Computer Vision, 2223–2232.