Skip to content

Research Articles

Backpressure across Service Chains: Uneven Workloads

Edda Ternwell (Distributed Systems Group, Glenwick University), Kavi Meadowick (Distributed Systems Group, Kestrelby Institute of Technology), Yara Wrenford (Machine Learning Laboratory, Valehart Institute of Computational Science)

Vol. 5 No. 1 (2022) · pp. 170–183 · Published 17 November 2022

Abstract

For a workload with many common cases and a small set of recurring high-cost cases, we construct a synthetic comparison between propagating demand from the slowest stage and assigning fixed local queue limits at each stage. Each configuration is evaluated on the same 160 cases. In the 40 stress cases, the bottleneck must move between stages during the run; the rare cases are assessed separately so that the dominant group does not hide their behavior. A case counts as a pass only if it meets this criterion: a chain must keep both completion delay and queued work under their limits. 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 118 of 160 cases, versus 118 for the comparator. In the stress subset, the respective counts are 32 and 25 of 40. The alternative matches the comparator overall. The practical trade-off is that central feedback can lag when service times change quickly. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.

Keywords: backpressure, microservices, flow control, uneven workloads, synthetic evaluation

References

  1. Al-Fares, M., Radhakrishnan, S., Raghavan, B., Huang, N., & Vahdat, A. (2010). Hedera: Dynamic flow scheduling for data center networks. Proceedings of the 7th USENIX Symposium on Networked Systems Design and Implementation, 281–296.
  2. Bashir, N., Guo, T., Hajiesmaili, M., Irwin, D., Shenoy, P., Sitaraman, R., Souza, A., & Wierman, A. (2021). Enabling sustainable clouds: The case for virtual battery. ACM SIGENERGY Energy Informatics Review, 1(1), 58–71.
  3. Burrows, M. (2006). The Chubby lock service for loosely-coupled distributed systems. Proceedings of the 7th USENIX Symposium on Operating Systems Design and Implementation, 335–350.
  4. Curtis, A. R., et al. (2011). DevoFlow: Scaling flow management for high-performance networks. Proceedings of the ACM SIGCOMM 2011 Conference, 254–265.
  5. Dragoni, N., et al. (2016). Microservices: Yesterday, today, and tomorrow. arXiv:1606.04036.
  6. Ferretti, L., et al. (2020). Quantifying SARS-CoV-2 transmission suggests epidemic control with digital contact tracing. Science, 368(6491), eabb6936.
  7. Fortunato, M., et al. (2017). Noisy networks for exploration. arXiv:1706.10295.
  8. Henze, G. P., & Schoenmann, J. (2003). Evaluation of reinforcement learning control for thermal energy storage systems. HVAC&R Research, 9(3), 259–275.
  9. Hu, J., Shen, L., & Sun, G. (2018). Squeeze-and-excitation networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 7132–7141.
  10. Koponen, T., et al. (2010). Onix: A distributed control platform for large-scale production networks. Proceedings of the 9th USENIX Symposium on Operating Systems Design and Implementation, 351–364.
  11. Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
  12. Rives, A., et al. (2021). Biological structure and function emerge from scaling unsupervised learning to 250 million protein sequences. Proceedings of the National Academy of Sciences, 118(15), e2016239118.
  13. Sagawa, S., Koh, P. W., Hashimoto, T. B., & Liang, P. (2019). Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. arXiv:1911.08731.
  14. 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
  15. Xu, W., Evans, D., & Qi, Y. (2017). Feature squeezing: Detecting adversarial examples in deep neural networks. arXiv:1704.01155.
  16. 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.
  17. Zitnik, M., & Leskovec, J. (2017). Predicting multicellular function through multi-layer tissue networks. Bioinformatics, 33(14), i190–i198.