Skip to content

Flagship Journal

JICSE

Journal of Intelligent Computing and System Engineering

Research Articles

Placement of Pipeline Stages across Network Boundaries: Slow Dependencies

Arturo Junebrook (Kestrelby Technical University), Noor Faldenwood (Havenford Institute of Technology), Hana Belmere (Kestrelby Technical University), Arturo Havenford (Larkmere University), Leila Kestrelby (Havenford Institute of Technology), Noor Valehart (Larkmere University)

Vol. 9 No. 1 (2024) · pp. 96–106 · Published 19 June 2024

Abstract

We consider two ways to address the same system requirement: placing communicating stages using measured transfer volume and assigning stages to the first free worker. The comparison uses synthetic cases. The two configurations see the same 160 cases, including 40 stress cases in which the dependency with the largest delay changes between successive trials. A case passes if output is delivered before the deadline under the same resource allowance. The replay fixes both input order and component availability across the two configurations. Work accepted but not completed remains in the denominator. This distinguishes a genuine improvement in end-to-end operation from a local improvement obtained by shifting unfinished work to another component. The alternative passes 136 of 160 cases and the comparator passes 124. In the stress subset, the two configurations pass 34 and 26 of 40 cases, respectively. The alternative improves the overall pass rate by 7.5 percentage points. A limitation of the design is that co-locating stages reduces flexibility for unrelated jobs. The comparison is descriptive and is not an estimate of deployment performance. An independent benchmark should vary the severity and frequency of the difficult cases while keeping the acceptance rule fixed.

Keywords: distributed architectures, slow dependencies, paired replay, synthetic findings

References

  1. Akidau, T., Bradshaw, R., Chambers, C., Chernyak, S., Fernández-Moctezuma, R. J., Lax, R., McVeety, S., Mills, D., Perry, F., Schmidt, E., & Whittle, S. (2015). The Dataflow Model: A practical approach to balancing correctness, latency, and cost in massive-scale, unbounded, out-of-order data processing. Proceedings of the VLDB Endowment, 8(12), 1792–1803. Source
  2. Chang, F., Dean, J., Ghemawat, S., Hsieh, W. C., Wallach, D. A., Burrows, M., Chandra, T., Fikes, A., & Gruber, R. E. (2008). Bigtable: A distributed storage system for structured data. ACM Transactions on Computer Systems, 26(2), Article 4. Source
  3. Dean, J., & Barroso, L. A. (2013). The tail at scale. Communications of the ACM, 56(2), 74–80. Source
  4. DeCandia, G., Hastorun, D., Jampani, M., Kakulapati, G., Lakshman, A., Pilchin, A., Sivasubramanian, S., Vosshall, P., & Vogels, W. (2007). Dynamo: Amazon’s highly available key-value store. Proceedings of the 21st ACM Symposium on Operating Systems Principles, 205–220. Source
  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. Gray, J. (1978). Notes on data base operating systems. Operating Systems: An Advanced Course, Lecture Notes in Computer Science, 60, 393–481. Springer. Source
  7. Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J. E., Zhang, H., & Stoica, I. (2023). Efficient memory management for large language model serving with PagedAttention. Proceedings of the 29th Symposium on Operating Systems Principles, 611–626. Source
  8. Liskov, B., & Cowling, J. (2012). Viewstamped replication revisited. MIT CSAIL Technical Report MIT-CSAIL-TR-2012-021. Source
  9. Ongaro, D., & Ousterhout, J. (2014). In search of an understandable consensus algorithm. 2014 USENIX Annual Technical Conference, 305–319. Source
  10. Saltzer, J. H., Reed, D. P., & Clark, D. D. (1984). End-to-end arguments in system design. ACM Transactions on Computer Systems, 2(4), 277–288. Source
  11. Sculley, D., Holt, G., Golovin, D., Davydov, E., Phillips, T., Ebner, D., Chaudhary, V., Young, M., Crespo, J.-F., & Dennison, D. (2015). Hidden technical debt in machine learning systems. Advances in Neural Information Processing Systems, 28, 2503–2511. Source
  12. Sigelman, B. H., Barroso, L. A., Burrows, M., Stephenson, P., Plakal, M., Beaver, D., Jaspan, S., & Shanbhag, C. (2010). Dapper, a large-scale distributed systems tracing infrastructure. Google Technical Report. Source
  13. Verma, A., Pedrosa, L., Korupolu, M., Oppenheimer, D., Tune, E., & Wilkes, J. (2015). Large-scale cluster management at Google with Borg. Proceedings of the Tenth European Conference on Computer Systems, Article 18. Source
  14. Zaharia, M., Chowdhury, M., Das, T., Dave, A., Ma, J., McCauley, M., Franklin, M. J., Shenker, S., & Stoica, I. (2012). Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing. 9th USENIX Symposium on Networked Systems Design and Implementation, 15–28. Source