Skip to content

Research Articles

Backpressure across Service Chains: Changing Conditions

Amari Oakmarsh (Distributed Systems Group, Thornmere Polytechnic), Farah Alderwick (Distributed Systems Group, Valehart Institute of Computational Science)

Vol. 7 No. 1 (2024) · pp. 28–38 · Published 12 February 2024

Abstract

For an operating profile that changes halfway through each run, 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 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 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 comparator passes 123 of 160 cases and the alternative passes 127. For the 40 stress cases alone, the counts are 16 and 21, respectively. The aggregate count does not establish that the alternative is preferable at every operating point. The practical trade-off is that central feedback can lag when service times change quickly. 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: backpressure, microservices, flow control, changing conditions, 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. 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.
  3. Curtis, A. R., et al. (2011). DevoFlow: Scaling flow management for high-performance networks. Proceedings of the ACM SIGCOMM 2011 Conference, 254–265.
  4. Dragoni, N., et al. (2016). Microservices: Yesterday, today, and tomorrow. arXiv:1606.04036.
  5. Fedus, W., Zoph, B., & Shazeer, N. (2022). Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23(120), 1–39. Source
  6. Ferretti, L., et al. (2020). Quantifying SARS-CoV-2 transmission suggests epidemic control with digital contact tracing. Science, 368(6491), eabb6936.
  7. Henze, G. P., & Schoenmann, J. (2003). Evaluation of reinforcement learning control for thermal energy storage systems. HVAC&R Research, 9(3), 259–275.
  8. Kaplan, J., et al. (2020). Scaling laws for neural language models. arXiv:2001.08361.
  9. 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.
  10. Lewis, J., & Fowler, M. (2014). Microservices: A definition of this new architectural term. martinfowler.com.
  11. Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
  12. Madden, S., Franklin, M. J., Hellerstein, J. M., & Hong, W. (2002). TAG: A tiny aggregation service for ad-hoc sensor networks. Proceedings of the 5th USENIX Symposium on Operating Systems Design and Implementation, 131–146.
  13. Newman, S. (2015). Building microservices: Designing fine-grained systems. O'Reilly Media.
  14. Shchur, O., Mumme, M., Bojchevski, A., & Günnemann, S. (2018). Pitfalls of graph neural network evaluation. arXiv:1811.05868.
  15. Wu, Z., Pan, S., Long, G., Jiang, J., Chang, X., & Zhang, C. (2020). Connecting the dots: Multivariate time series forecasting with graph neural networks. Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 753–763.
  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.