Skip to content

Research Articles

Middleware Queue Policies in Distributed Control: Concurrent Changes

Rowan Asherwick (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing), Amari Merevale (Autonomous Systems Laboratory, Pinewick School of Engineering), Kenji Ivermere (Machine Learning Laboratory, Eastmarsh Institute for Applied Computing)

Vol. 7 No. 1 (2025) · pp. 138–148 · Published 15 October 2025

Abstract

This synthetic study compares dropping superseded samples before control updates with delivering all buffered samples in sequence in a test fixture with overlapping transitions. Each configuration is evaluated on the same 300 cases. In the 75 stress cases, the publisher must run faster than the subscriber can process; both changes are replayed together as well as separately to distinguish an interaction from an isolated error. A case counts as a pass only if it meets this criterion: the controller must receive recent enough input at its deadline. Test inputs are generated from a closed virtual fixture, not from operation around people or equipment. Both configurations see the same disturbances and initial state; resets and intervention requests remain in the denominator. The first configuration passes 237 of 300 cases, versus 226 for the comparator. In the stress subset, the respective counts are 43 and 37 of 75. The alternative exceeds the comparator overall by 3.7 percentage points. The practical trade-off is that latest-sample delivery is unsuitable when intermediate events carry meaning. A subsequent evaluation should set tolerances independently and repeat the comparison on workloads not used to select the configuration.

Keywords: middleware, queues, real-time control, concurrent changes, synthetic evaluation

References

  1. Black, K., et al. (2024). π0: A vision-language-action flow model for general robot control. arXiv:2410.24164.
  2. Box, G. E. P., & Jenkins, G. M. (1970). Time series analysis: Forecasting and control. Holden-Day.
  3. Brohan, A., et al. (2022). RT-1: Robotics transformer for real-world control at scale. arXiv:2212.06817.
  4. Carlucci, G., De Cicco, L., Holmer, S., & Mascolo, S. (2016). Analysis and design of the Google congestion control for web real-time communication (WebRTC). Proceedings of the 7th International Conference on Multimedia Systems, Article 13.
  5. Heess, N., Wayne, G., Silver, D., Lillicrap, T., Erez, T., & Tassa, Y. (2015). Learning continuous control policies by stochastic value gradients. Advances in Neural Information Processing Systems, 28, 2944–2952.
  6. Henry, K. E., Hager, D. N., Pronovost, P. J., & Saria, S. (2015). A targeted real-time early warning score (TREWScore) for septic shock. Science Translational Medicine, 7(299), 299ra122.
  7. 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.
  8. Li, X., et al. (2024). Evaluating real-world robot manipulation policies in simulation. arXiv:2405.05941.
  9. Liang, J., et al. (2022). Code as policies: Language model programs for embodied control. arXiv:2209.07753.
  10. Lillicrap, T. P., et al. (2015). Continuous control with deep reinforcement learning. arXiv:1509.02971.
  11. Liu, C. L., & Layland, J. W. (1973). Scheduling algorithms for multiprogramming in a hard-real-time environment. Journal of the ACM, 20(1), 46–61. DOI
  12. Mohsenian-Rad, A.-H., & Leon-Garcia, A. (2010). Optimal residential load control with price prediction in real-time electricity pricing environments. IEEE Transactions on Smart Grid, 1(2), 120–133.
  13. Nichols, K., & Jacobson, V. (2012). Controlling queue delay. Communications of the ACM, 55(7), 42–50.
  14. Peng, X. B., Andrychowicz, M., Zaremba, W., & Abbeel, P. (2018). Sim-to-real transfer of robotic control with dynamics randomization. Proceedings of the IEEE International Conference on Robotics and Automation, 3803–3810.
  15. Roman, R., Zhou, J., & Lopez, J. (2013). On the features and challenges of security and privacy in distributed internet of things. Computer Networks, 57(10), 2266–2279.
  16. Stonebraker, M., Çetintemel, U., & Zdonik, S. (2005). The 8 requirements of real-time stream processing. ACM SIGMOD Record, 34(4), 42–47.