透過您的圖書館登入
IP:3.134.113.136
  • 學位論文

微服務架構模式的性能分析

Performance Analysis for Microservices Architecture Patterns

指導教授 : 孫宏民

摘要


微服務模式是許多公司用於構建和部署應用程序編程接口(API)的最具體系結構的通用設計之一,考慮到它們可以提供的所有優勢,高可伸縮性,靈活性,易於部署和管理。 這種模式自然地在粒度環境中作為分佈式系統工作,因此實際上,當涉及工作流中的許多服務時,它具有需要解決的挑戰,如何控制響應延遲以及相互通信中的性能問題。 在本研究中,提出了使用不同方法構建微服務的性能分析研究,並對可能影響響應時間的架構考慮進行了全面審查。 分析顯示了在不同策略中使用CPU,RAM,網絡流量和延遲的性能詳細信息。 該實驗考慮了編碼體系結構模式,可伸縮性工具以及用於服務相互通信的同步和異步消息傳遞,以獲得有關使用微服務構建應用程序所需的所有挑戰的大廳信息。 旨在提供實施此體系結構模式的主要組件的指南。

並列摘要


Microservices pattern is one of the most architectural common designs used for many companies to build and deploy Application Programming Interfaces (APIs), considering all the advantages that they can provide, how high scalability, flexibility, easy to deployment and management. This pattern naturally works in a granulated environment as distributed systems, so indeed, it has challenges that need to be addressed, how controlling responses delay, and performance issues in inter-communication when involving many services in the workflow. In this research, is presented a study of performance analysis using different approaches to build microservices, with a complete review of architectural consideration that could affect the response time. The analysis shows the performance details about the use of CPU, RAM, Networking Traffic, and latency in the different strategies. The experimentation considerate coding architectural patterns, scalability tools and synchronous and asynchronous messaging for services intercommunication, to have an over hall information about all the challenges to entails to built an application using microservices. Aiming to provide a guideline with the principal components in the implementation of this architectural pattern.

參考文獻


[1] Api design. https://docs.microsoft.com/en-us/azure/architecture/
best-practices/api-design.
[2] Communication in a microservice architecture.
https://docs.microsoft.com/en-us/dotnet/standard/microservices-a
rchitecture/architect-microservice-container-applications/commun

延伸閱讀