Skip to content

Research Articles

Backpressure across Service Chains: Clustered Exceptions

Beatriz Northmere (Distributed Systems Group, Ivermere University), Uma Oakmarsh (Distributed Systems Group, Kestrelby Institute of Technology)

Vol. 4 No. 1 (2021) · pp. 133–147 · Published 4 October 2021

Abstract

This synthetic study compares propagating demand from the slowest stage with assigning fixed local queue limits at each stage under a burst of exceptions concentrated in a short interval. Each configuration is evaluated on the same 240 cases. In the 60 stress cases, the bottleneck must move between stages during the run; the difficult conditions occur in contiguous runs rather than being spread across 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 first configuration passes 161 of 240 cases, versus 166 for the comparator. In the stress subset, the respective counts are 19 and 24 of 60. The alternative falls below the comparator overall by 2.1 percentage points. 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, clustered exceptions, 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. Esteva, A., et al. (2017). Dermatologist-level classification of skin cancer with deep neural networks. Nature, 542(7639), 115–118.
  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. 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.
  9. Lewis, J., & Fowler, M. (2014). Microservices: A definition of this new architectural term. martinfowler.com.
  10. Lin, X., et al. (2018). All-optical machine learning using diffractive deep neural networks. Science, 361(6406), 1004–1008. DOI
  11. 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.
  12. McMahan, H. B., Moore, E., Ramage, D., Hampson, S., & Agüera y Arcas, B. (2016). Communication-efficient learning of deep networks from decentralized data. arXiv:1602.05629.
  13. Newman, S. (2015). Building microservices: Designing fine-grained systems. O'Reilly Media.
  14. Wen, T.-H., et al. (2016). A network-based end-to-end trainable task-oriented dialogue system. arXiv:1604.04562.
  15. 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.