Skip to content

Research Articles

Budgeted Request Hedging: Changing Conditions

Hana Wrenford (Distributed Systems Group, Glenwick University), Rowan Belmere (Machine Learning Laboratory, Valehart Institute of Computational Science), Idris Kestrelby (Machine Learning Laboratory, Cairnwell Research Institute), Yara Ternwell (Distributed Systems Group, Ravenmere Technical University)

Vol. 5 No. 1 (2022) · pp. 1–12 · Published 30 March 2022

Abstract

For an operating profile that changes halfway through each run, we construct a synthetic comparison between issuing duplicate reads only when capacity and deadline slack permit and issuing a duplicate at a fixed age. Each configuration is evaluated on the same 256 cases. In the 64 stress cases, slow requests must cluster on a shared resource; 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 read must meet its deadline without exceeding the duplicate-work budget. 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 first configuration passes 207 of 256 cases, versus 202 for the comparator. In the stress subset, the respective counts are 47 and 39 of 64. The alternative exceeds the comparator overall by 2.0 percentage points. The practical trade-off is that hedging does little when both replicas contend for the same bottleneck. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.

Keywords: tail latency, replication, queueing, changing conditions, synthetic evaluation

References

  1. Demers, A., Keshav, S., & Shenker, S. (1989). Analysis and simulation of a fair queueing algorithm. ACM SIGCOMM Computer Communication Review, 19(4), 1–12.
  2. Ferguson, A. D., Bodik, P., Kandula, S., Boutin, E., & Fonseca, R. (2012). Jockey: Guaranteed job latency in data parallel clusters. Proceedings of the 7th ACM European Conference on Computer Systems, 99–112.
  3. Harchol-Balter, M. (2013). Performance modeling and design of computer systems: Queueing theory in action. Cambridge University Press.
  4. Jacob, B., et al. (2018). Quantization and training of neural networks for efficient integer-arithmetic-only inference. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2704–2713.
  5. Jalaparti, V., Bodik, P., Kandula, S., Menache, I., Rybalkin, M., & Yan, C. (2013). Speeding up distributed request-response workflows. Proceedings of the ACM SIGCOMM 2013 Conference, 219–230.
  6. Kessler, R. C., et al. (2003). The epidemiology of major depressive disorder: Results from the National Comorbidity Survey Replication (NCS-R). JAMA, 289(23), 3095–3105.
  7. Kleinrock, L. (1975). Queueing systems, Volume 1: Theory. Wiley.
  8. Lepikhin, D., Lee, H., Xu, Y., Chen, D., Firat, O., Huang, Y., Krikun, M., Shazeer, N., & Chen, Z. (2021). GShard: Scaling giant models with conditional computation and automatic sharding. International Conference on Learning Representations. Source
  9. Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
  10. Nelson, J., et al. (2015). Latency-tolerant software distributed shared memory. Proceedings of the 2015 USENIX Annual Technical Conference, 291–305.
  11. Ousterhout, K., Wendell, P., Zaharia, M., & Stoica, I. (2013). Sparrow: Distributed, low latency scheduling. Proceedings of the 24th ACM Symposium on Operating Systems Principles, 69–84.
  12. Pareja, A., et al. (2020). EvolveGCN: Evolving graph convolutional networks for dynamic graphs. Proceedings of the AAAI Conference on Artificial Intelligence, 34, 5363–5370.
  13. Shafiee, A., et al. (2016). ISAAC: A convolutional neural network accelerator with in-situ analog arithmetic in crossbars. Proceedings of the 43rd Annual International Symposium on Computer Architecture, 14–26. DOI
  14. Zhao, X., Zhang, Y., Lion, D., Ullah, M. F., Luo, Y., Yuan, D., & Stumm, M. (2014). lprof: A non-intrusive request flow profiler for distributed systems. Proceedings of the 11th USENIX Symposium on Operating Systems Design and Implementation, 629–644.