簡易檢索 / 詳目顯示

研究生: 陳凱祈
Kai-Chi Chen
論文名稱: 整合 NFS 與 NIN 於 CICD 流程中之快取系統
Caching System in CICD Flows through Integration of NFS and NIN
指導教授: 沈上翔
Shan-Hsiang Shen
口試委員: 沈中安
黃琴雅
金台齡
沈上翔
學位類別: 碩士
Master
系所名稱: 電資學院 - 資訊工程系
Department of Computer Science and Information Engineering
論文出版年: 2023
畢業學年度: 112
語文別: 中文
論文頁數: 26
中文關鍵詞: 快取持續整合部署
外文關鍵詞: NFS, Cache, CICD
相關次數: 點閱:38下載:4
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 近年來,持續集成與持續部署(Continuous Integration and Continuous Deployment,簡稱 CICD)已成為軟體開發的行業標準,旨在實現自動化且高效的應用程式建置和部署。然而,我們注意到在每次建置中,主要框架和相似套件的引入都是不斷重複的。這種重複工作不僅浪費時間,也降低了整體效率。

    為了解決這個問題,我們著手研究如何優化 CICD 流程,特別是套件管理和數據存儲效率。我們採用 Network File System(NFS)來實現這個目標,利用其強大的快取機制,有效地存儲和提供應用程式所需的套件和資源。通過 NFS 的快取功能,我們成功地減少了套件的重複下載和存儲,從而節省時間並提高效率。

    除此之外,我們也關注到在現有網路架構下,套件的傳輸和存儲仍可能面臨一些挑戰。因此,我們提出 Named Image Layer Networking(NIN)網路技術,以優化套件的管理和檢索,並確保高效的數據傳輸。NIN 的結合使我們能夠更有效地選擇最佳的緩存節點,進一步提高了 CICD 流程的效能。

    在本研究中,我們將深入探討 NFS 快取和 NIN 映像層網路的實施,以改進 CICD 流程的效能和可靠性。我們將介紹我們的研究方法、實驗結果以及對 CICD 流程的實際優化效應。我們的目標是提供一個全面的解決方案,以減少不必要的資源浪費,同時提高軟體開發流程的效率,為開發團隊提供更好的支援。


    In recent years, Continuous Integration and Continuous Deployment (CICD) have become industry standards in software development, aiming to achieve automated and efficient application build and deployment processes. However, we have observed that the introduction of core frameworks and similar packages is repetitive with each build. This repetitive work not only wastes time but also diminishes overall efficiency.

    To address this issue, we embarked on a study to optimize the CICD process, focusing on package management and data storage efficiency. We employed the Network File System (NFS) to achieve this goal, leveraging its robust caching mechanism to effectively store and provide the packages and resources required by applications. Through the caching capabilities of NFS, we successfully reduced redundant downloads and storage of packages, thereby saving time and improving efficiency.

    In addition, we also noted that under the existing network architecture, package transmission and storage could still face some challenges. Therefore, we propose Named Image Layer Networking (NIN) technology to optimize package management and retrieval, ensuring efficient data transmission. The integration of NIN allows us to more effectively select optimal caching nodes, further enhancing the efficiency of the CICD process.

    In this research, we delve into the implementation of NFS caching and NIN Image Layer networking to enhance the performance and reliability of the CICD process. We will introduce our research methodology, experimental results, and the practical optimization effects on the CICD process. Our goal is to provide a comprehensive solution to reduce unnecessary resource waste while improving the efficiency of the software development process, offering better support to development teams.

    教授推薦書 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i 論文口試委員審定書 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii 中文摘要 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv Acknowledegment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v Table of contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 Background and Related Works . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1 命名資料網路 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 內容快取策略 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.3 DroneCI 快取策略 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.3.1 Volume-Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.3.2 SFTP-Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.4 網路檔案系統 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.1 系統架構 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 3.2 工作流程 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.3 命名映像層網路 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.3.1 修改 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.3.2 得分及快取策略 . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4 NFS 映像層快取 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.5 小結 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4 Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.1 實驗環境 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.2 實驗結果 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.2.1 模擬環境 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 4.2.2 真實環境 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.2.3 NFS Cache 與 STFP Cache 比較 . . . . . . . . . . . . . . . . . 24 5 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

    [1] S. L. Preeti Wadhwani, “Devops market size worth over $30 bn by 2028.”
    https://www.gminsights.com/pressrelease/devops-market, 2022.
    [2] Drillster, “drone-volume-cache.” https://github.com/Drillster/drone-volume-cache,2016.
    [3] B.-Y. Wu, “drone-sftp-cache.” https://github.com/appleboy/drone-sftp-cache, 2016.
    [4] V. Jacobson, M. Mosko, D. Smetters, and J. Garcia-Luna-Aceves, “Content-centric networking,” Whitepaper, Palo Alto Research Center, pp. 2–4, 2007.
    [5] L. Zhang, A. Afanasyev, J. Burke, V. Jacobson, K. Claffy, P. Crowley, C. Papadopou-los, L. Wang, and B. Zhang, “Named data networking,” ACM SIGCOMM Computer Communication Review, vol. 44, no. 3, pp. 66–73, 2014.
    [6] N. Laoutaris, H. Che, and I. Stavrakakis, “The lcd interconnection of lru caches and its analysis,” Performance Evaluation, vol. 63, no. 7, pp. 609–634, 2006.
    [7] N. Laoutaris, S. Syntila, and I. Stavrakakis, “Meta algorithms for hierarchical web caches,” in IEEE International Conference on Performance, Computing, and Communications, 2004, pp. 445–452, IEEE, 2004.
    [8] W. K. C. I. Psaras and G. Pavlou, “Probabilistic in-network caching for information-centric networks,” in in Proceedings of the second edition of the ICN workshop on Information-centric networking, pp. 55–60, 2012.
    [9] M. A. Naeem, S. A. Nor, S. Hassan, and B.-S. Kim, “Compound popular content caching strategy in named data networking,” Electronics, vol. 8, no. 7, p. 771, 2019.
    [10] M. Feng, R. Li, Y. Hu, and M. Yu, “A caching strategy based on content popularity level for ndn,” in International Conference on Artificial Intelligence and Security, pp. 739–750, Springer, 2021.
    [11] C.-K. Huang and S.-H. Shen, “Enabling service cache in edge clouds,” ACM Transactions on Internet of Things, vol. 2, no. 3, pp. 1–24, 2021.

    無法下載圖示
    全文公開日期 2026/01/30 (校外網路)
    全文公開日期 2026/01/30 (國家圖書館:臺灣博碩士論文系統)
    QR CODE