Skip to content

Research Articles

Resuming Stateful Services after Node Loss: Cold Versus Warm Runs

Emil Junebrook (Distributed Systems Group, Ravenmere Technical University), Idris Ravenmere (Distributed Systems Group, Eastmarsh Institute for Applied Computing), Adil Oakhurst (Distributed Systems Group, Glenwick University)

Vol. 6 No. 1 (2023) · pp. 1–16 · Published 24 January 2023

Abstract

This synthetic study compares storing a consistent incremental snapshot with a bounded replay log with restarting from periodic full snapshots in a mix of fresh-start and steady-state trials. Each configuration is evaluated on the same 120 cases. In the 30 stress cases, failures must occur while a snapshot is being committed; initialization cost is kept in the comparison instead of discarding the first completed trial. 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 79 of 120 cases and the alternative passes 85. For the 30 stress cases alone, the counts are 14 and 21, 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, cold versus warm runs, synthetic evaluation

References

  1. 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.
  2. Castro, M., & Liskov, B. (1999). Practical Byzantine fault tolerance. Proceedings of the Third Symposium on Operating Systems Design and Implementation, 173–186.
  3. Karger, D., Lehman, E., Leighton, T., Panigrahy, R., Levine, M., & Lewin, D. (1997). Consistent hashing and random trees: Distributed caching protocols for relieving hot spots on the World Wide Web. Proceedings of the 29th Annual ACM Symposium on Theory of Computing, 654–663.
  4. 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.
  5. Murdock, K., Oswald, D., Garcia, F. D., Van Bulck, J., Gruss, D., & Piessens, F. (2020). Plundervolt: Software-based fault injection attacks against Intel SGX. Proceedings of the 2020 IEEE Symposium on Security and Privacy, 1466–1482.
  6. Ni, K., et al. (2009). Sensor network data fault types. ACM Transactions on Sensor Networks, 5(3), Article 25.
  7. Oono, K., & Suzuki, T. (2019). Graph neural networks exponentially lose expressive power for node classification. arXiv:1905.10947.
  8. 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.
  9. Rinard, M. (2006). Probabilistic accuracy bounds for fault-tolerant computations that discard tasks. Proceedings of the 20th Annual International Conference on Supercomputing, 324–334.
  10. Rong, Y., Huang, W., Xu, T., & Huang, J. (2019). DropEdge: Towards deep graph convolutional networks on node classification. arXiv:1907.10903.
  11. Shah, M. A., Hellerstein, J. M., & Brewer, E. (2004). Highly available, fault-tolerant, parallel dataflows. Proceedings of the 2004 ACM SIGMOD International Conference on Management of Data, 827–838.
  12. 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.
  13. Zhang, C., Yu, M., Wang, W., & Yan, F. (2019). MArk: Exploiting cloud services for cost-effective, SLO-aware machine learning inference serving. Proceedings of the 2019 USENIX Annual Technical Conference, 1049–1062.
  14. 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.