Skip to content

Research Articles

Middleware Queue Policies in Distributed Control: Tight Resource Limits

Devon Ravenmere (Autonomous Systems Laboratory, Ivermere University), Leila Finchmere (Distributed Systems Group, Ivermere University), Tomas Cinderford (Distributed Systems Group, Cairnwell Research Institute)

Vol. 2 No. 1 (2020) · pp. 43–57 · Published 21 April 2020

Abstract

This synthetic study compares dropping superseded samples before control updates with delivering all buffered samples in sequence in a reduced operating budget with the same input mix. Each configuration is evaluated on the same 180 cases. In the 45 stress cases, the publisher must run faster than the subscriber can process; both configurations receive the same smaller allowance and cannot borrow capacity from later trials. 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 136 of 180 cases, versus 127 for the comparator. In the stress subset, the respective counts are 31 and 22 of 45. The alternative exceeds the comparator overall by 5.0 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, tight resource limits, synthetic evaluation

References

  1. 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.
  2. Dabkowski, P., & Gal, Y. (2017). Real time image saliency for black box classifiers. Advances in Neural Information Processing Systems, 30, 6967–6976.
  3. Hafner, D., Lillicrap, T., Ba, J., & Norouzi, M. (2019). Dream to control: Learning behaviors by latent imagination. arXiv:1912.01603.
  4. 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.
  5. Jacobson, V. (1988). Congestion avoidance and control. ACM SIGCOMM Computer Communication Review, 18(4), 314–329.
  6. Kiranyaz, S., Ince, T., & Gabbouj, M. (2016). Real-time patient-specific ECG classification by 1-D convolutional neural networks. IEEE Transactions on Biomedical Engineering, 63(3), 664–675.
  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. 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
  9. Mittal, R., et al. (2015). TIMELY: RTT-based congestion control for the datacenter. Proceedings of the ACM SIGCOMM 2015 Conference, 537–550.
  10. 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.
  11. Paxson, V. (1999). Bro: A system for detecting network intruders in real-time. Computer Networks, 31(23–24), 2435–2463.
  12. 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.
  13. Redmon, J., Divvala, S., Girshick, R., & Farhadi, A. (2016). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 779–788.
  14. Ren, S., He, K., Girshick, R., & Sun, J. (2015). Faster R-CNN: Towards real-time object detection with region proposal networks. Advances in Neural Information Processing Systems, 28, 91–99.
  15. Watter, M., Springenberg, J., Boedecker, J., & Riedmiller, M. (2015). Embed to control: A locally linear latent dynamics model for control from raw images. Advances in Neural Information Processing Systems, 28, 2746–2754.
  16. Yin, X., Jindal, A., Sekar, V., & Sinopoli, B. (2015). A control-theoretic approach for dynamic adaptive video streaming over HTTP. Proceedings of the ACM SIGCOMM 2015 Conference, 325–338.