arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1905.07997cs.SE
收藏

微服务和单片架构的比较

A Comparative Review of Microservices and Monolithic Architectures

Omar Al-Debagy, Peter Martinek

摘要:

微服务的架构在学术界和工业界越来越受到关注,并且大多与单片架构进行比较。这些研究论文的许多结果在这些架构的性能方面相互矛盾。因此,本文对这两种架构进行了比较,并从服务发现的角度对微服务应用的一些具体配置进行了评估。在并发测试中,单片架构的吞吐量性能比微服务架构高出6%。负载测试场景在两种架构之间没有显著差异。此外,第三项测试比较了使用不同服务发现技术(如Consul和Eureka)构建的微服务应用程序,结果显示使用Consul的应用程序在吞吐量方面表现更好。

英文摘要:

Microservices' architecture is getting attention in the academic community and the industry, and mostly is compared with monolithic architecture. Plenty of the results of these research papers contradict each other regarding the performance of these architectures. Therefore, these two architectures are compared in this paper, and some specific configurations of microservices' applications are evaluated as well in the term of service discovery. Monolithic architecture in concurrency testing showed better performance in throughput by 6% when compared to microservices architecture. The load testing scenario did not present significant difference between the two architectures. Furthermore, a third test comparing microservices applications built with different service discovery technologies such as Consul and Eureka showed that applications with Consul presented better results in terms of throughput.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑