博碩士論文 109423069 詳細資訊




以作者查詢圖書館館藏 以作者查詢臺灣博碩士 以作者查詢全國書目 勘誤回報 、線上人數:46 、訪客IP:3.148.107.229
姓名 魏宏宇(Wei Hong Yu)  查詢紙本館藏   畢業系所 資訊管理學系
論文名稱 設計與實作結合Kubernetes應用之多執行緒連線負載平衡器
(Design and Development of a Multi-threaded Connection Load Balancer for Kubernetes Application)
相關論文
★ 於軟體定義網路環境中基於信任度演算法實現可信工控物聯網之建置★ 設計與實作基於Zabbix網路監控平台之自動化路由黑洞機制
★ 設計與實作基於OVS-DPDK並結合硬體加速的適應性流量卸載策略★ 智慧共同照護之實現: 以資料驅動為基礎之 AI 糖尿病個案管理模式
★ 設計與實作基於驗證路由資訊一致性之自動化 BGP 路由 過濾策略與安全機制★ 胰島素劑量最佳化模型:基於 BGM 的研究
★ 社群媒體上的生成式人工智慧輿情探勘★ 設計與實作基於軟體定義網路之 SRv6 適應性路徑選擇方法
檔案 [Endnote RIS 格式]    [Bibtex 格式]    [相關文章]   [文章引用]   [完整記錄]   [館藏目錄]   至系統瀏覽論文 (2026-9-22以後開放)
摘要(中) 雲端叢集管理平台Kubernetes近年大受歡迎,逐漸為許多管理者所採用,各種應用隨之興起,乘著Kubernetes的風潮無伺服器 (Serverless) 的相關應用也逐漸出現,開源專案百花齊放,有各式各樣的無伺服器專案開始受到矚目。因此開始有學者針對無伺服器的效能進行研究,從過往相關文獻發現在特定的無伺服器專案中出現了效能低落的問題,這是由於其負載平衡器造成了系統的瓶頸。為了使負載平衡器能夠同時負擔巨大的流量,因此多執行緒的負載平衡器有望成為其解決方案的關鍵,而本論文中將針對其多執行緒對負載平衡器效能的影響來進行評估。
為進行研究,本論文針對Kubernetes設計並實作了一個多執行緒的負載平衡器,並對於不同執行緒數量的效能進行觀察,實驗結果發現無限制地允許執行緒開啟無法帶來最好的效能表現,由於本論文所建置之負載平衡器連線之建立必須基於Kubernetes的API來開啟直通至 Pod 之專用Socket的緣故,負載平衡器一次性接受了大量來自測試客戶端的流量之後,同時向Kubernetes API要求建立Socket,此舉將造成了系統的壅塞並導致整體效能低下,進而使得整體連線回應時間不理想。因此本論文另外針對有限制數量的執行緒進行實驗,希望能夠從不同數量的執行緒了解其最佳化之執行緒數量避免連線壅塞的問題。從實驗結果中可以找出測試環境中Pod數量、連線要求、執行緒達到最佳執行效能的配置組合,在該配置之下可以得到最大的改善,並且比無限制執行緒數量的表現還好。
摘要(英) The Kubernetes platform which aims to manage the cloud cluster platform is emergence with a lot of adoptions. Various kinds of application came out followed with this trend. There are o countless open-source projects published, many Serverless projects become the spotlight. There also being targeted as research topic. A Serverless platform are found with low performance issue in the research. The Load balancer are accused as the bottleneck of the system. To make a Load balancer able to load multiple flows from different sources. Multithreads are essential of Load balancer. In this thesis we are evaluating the performance of the Multithreaded Load balancer.
In this thesis we design and implemented a multithreaded Load balancer and done an observation on its performance with different thread numbers. We found that non-limited thread expansion will not bring the best performance in the end. That’s because the Load balancer we built in this research are establishing connection using Kubernetes’s API, which will return a socket that allow us to connect to the Pod directly. If Load Balancer received tons of requests from clients without limitation and trying to request socket from Kubernetes API. It will cause low performance and stuck the system. Also became the causes of the not ideal response time. In this thesis we’ve evaluated on threads with limitations. To find out the optimized threads number.
關鍵字(中) ★ 負載平衡器
★ 入口
★ 多執行緒
關鍵字(英) ★ Kubernetes
★ Ingress
★ multi-thread
論文目次 摘要 i
ABSTRACT ii
致謝辭 iii
目錄 iv
圖目錄 vi
表目錄 vii
1、 前言 1
1-1 研究背景 1
1-2 研究動機 2
1-3 研究目的 2
1-4 研究目的與預期貢獻 3
2、 相關研究 3
2-1 虛擬化技術的演進 3
2-2 Docker 4
2-3 無伺服器 5
2-4 負載平衡器 6
2-5 Scapy 7
2-6 三向交握 8
2.7 研究討論 9
3、 系統設計 10
3-1 系統架構 10
3-3 模組設計 18
3-4 限制執行緒數量的情境 25
4、 系統實作與實驗 25
4-1 驗證程序設計 27
4-2 實驗設計 29
4-3 實驗1-1:無限制的執行緒 30
4-4 實驗1-2:更多的Pod 34
4-5 實驗2:有限的執行緒 35
4-6 使用案例討論 39
5、 結論與未來研究 40
6、 參考文獻 42
參考文獻 [1] "What is Kubernetes?," kubernetes 官方網站, [Online]. Available: https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/. [Accessed 21 7 2022].
[2] C. Anderson, "Docker [Software engineering]," IEEE Software, vol.32, pp. 102-105, 2015.
[3] B. B. Rad and M. A. Harrison John Bhatti, "An Introduction to Docker and Analysis of its Performance," International Journal of Computer Science and Network Security, vol.17, pp. 228-235, 2017.
[4] G. C. Fox, "Status of Serverless Computing and Function-as-a-Service(FaaS) in Industry and Research," in proceedings of First International Workshop on Serverless, 2017.
[5] S. K. Mohanty, G. Premsankar and M. di Francesco, "An Evaluation of Open Source Serverless Computing Frameworks," in proceedings of IEEE International Conference on Cloud Computing Technology and Science, 2018.
[6] A. Mohan, "Agile cold starts for scalable serverless" in proceedings of USENIX Workshop on Hot Topics in Cloud Computing, 2019.
[7] M. Rahman, S. Iqbal and J. Gao, "Load Balancer as a Service in Cloud Computing," in proceedings of IEEE International Workshop on Service-Oriented System Engineering, 2014.
[8] E. Al-Rayis and H. Kurdi, "Performance Analysis of Load Balancing Architectures in Cloud Computing," in proceedings of European Modelling Symposium, 2013.
[9] R. Raj and R. Rohith, "SCAPY- A powerful interactive packet manipulation program" in proceedings of International Conference on Networking, Embedded and Wireless Systems, 2018.
[10] P. Biondi, "Introduction — Scapy 2.4.5. documentation," [Online]. Available: https://scapy.readthedocs.io/en/latest/introduction.html. [Accessed 6 7 2022].
[11] P. Biondi, "Download scapy," [Online]. Available: https://scapy.net/download/. [Accessed 6 7 2022].
[12] G. C. Kessler, "An Overview of TCP/IP Protocols," 2019. [Online]. Available: https://www.garykessler.net/library/tcpip.html. [Accessed 21 7 2022].
[13] I. S. I. U. o. Southern, "Transmission control protocol," 9 1981. [Online]. Available: https://www.ietf.org/rfc/rfc793.txt.
[14] "Resource Management for Pods and Containers -CPU resource units," [Online]. Available: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu. [Accessed 30 6 2020].
[15] "proxmox," Proxmox Server Solutions GmbH, [Online]. Available: https://www.proxmox.com/en/proxmox-ve/features. [Accessed 20 7 2022].
[16] "Apache JMeter™," Apache Software Foundation, [Online]. Available: https://jmeter.apache.org/. [Accessed 20 7 2022].
[17] "Postman," Postman, Inc., [Online]. Available: https://www.postman.com/. [Accessed 20 7 2022].
[18] D. An, "Find out how you stack up to new industry benchmarks for mobile page speed," 1 2018. [Online]. Available: https://www.thinkwithgoogle.com/marketing-strategies/app-and-mobile/mobile-page-speed-new-industry-benchmarks/. [Accessed 15 7 2022].
[19] D. Project, "Data Plane Development Kit," [Online]. Available: https://www.dpdk.org/. [Accessed 07 2022].
[20] D. Bernstein, "Containers and cloud: From lxc to docker to kubernetes," IEEE Cloud Computing, vol.1, pp. 81-84, 2014.
[21] J. Li, S. G. Kulkarni, K. Ramakrishnan and D. Li, "Understanding open source serverless platforms: Design considerations and performance," in proceedings of International Workshop on Serverless Computing, 2019.
[22] 龔正, 吳治輝, 崔秀龍 and 閆健勇, 史上最完整細節:Kubernetes超應用全書, 深智數位, 2020.
[23] 國家通訊傳播委員會, "109年度電信統計圖表," 16 6 2021. [Online]. Available: https://www.ncc.gov.tw/chinese/files/21061/1994_46203_210616_1.pdf.
[24] "Square Enix Case Study," 2016. [Online]. Available: https://aws.amazon.com/tw/solutions/case-studies/square-enix/. [Accessed 20 7 2022].
[25] M. Zhang, Y. Zhu, C. Zhang and J. Liu, "Video Processing with Serverless Computing: A Measurement Study," in proceedings of ACM Workshop on Network and Operating Systems Support for Digital Audio and Video, pp. 61-66, 2019.
[26] M. Rahman, S. Iqbal and J. Gao, "Load Balancer as a Service in Cloud Computing," in proceedings of IEEE International Workshop on Service-Oriented System Engineering, 2014.
[27] A. C. Adamuthe, S. H. Patil and G. Thampi, "Cloud Computing – A market Perspective and Research Directions," International Journal of Information Technology and Computer Science, vol.7, pp. 42-53, 2015.
[28] Brendan Burns, Brian Grant, David Oppenheimer, Eric Brewer, John Wilkes and Google Inc., "Borg, Omega, and Kubernetes. Lessons learned from three container-management systems over a decade," ACM Queue, pp. 70-93, 2016.
[29] P. Mell and T. Grance, "The NIST Definition of Cloud Computing," 9 2011. [Online]. Available: https://csrc.nist.gov/publications/detail/sp/800-145/final. [Accessed 22 7 2022].
指導教授 蔡邦維(Pang-wei Tsai) 審核日期 2022-9-22
推文 facebook   plurk   twitter   funp   google   live   udn   HD   myshare   reddit   netvibes   friend   youpush   delicious   baidu   
網路書籤 Google bookmarks   del.icio.us   hemidemi   myshare   

若有論文相關問題,請聯絡國立中央大學圖書館推廣服務組 TEL:(03)422-7151轉57407,或E-mail聯絡  - 隱私權政策聲明