Microservices architectures are widely adopted for their promised scalability and modularity, yet empirical evidence comparing their runtime performance to monolithic designs remains context-dependent. This paper presents an experimental comparison of a monolithic and a microservices implementation of the same e-commerce application, both backed by a shared PostgreSQL database. Using k6, we subject both systems to identical HTTP workloads at 50 and 100 virtual users (VUs) over 60-second runs, measuring throughput, latency, and error rates. At 50 VUs, both architectures perform similarly with no errors. At 100 VUs, the microservices design achieves 5.4% higher throughput, 25% lower average latency, and 39% lower p95 latency than the monolith, while exhibiting a lower median error rate (0.00% vs 0.69%). The monolith shows consistent order-creation failures under load, whereas microservices failures are transient and confined to the cart service in one run. These results suggest that, in this deployment context, decomposing the system into microservices improves scalability and tail latency under stress, while introducing distinct, service-specific failure modes that must be managed.


翻译:暂无翻译

0
下载
关闭预览

相关内容

综述:生成式通信,面向6G的可控生成新范式
专知会员服务
12+阅读 · 7月13日
《大模型一体机应用研究报告(2025年)》,48页pdf
专知会员服务
27+阅读 · 2025年11月2日
《大模型行业可信应用框架研究报告》(附全文)
专知会员服务
40+阅读 · 2024年9月6日
最新《工业大模型应用报告》
专知会员服务
121+阅读 · 2024年4月5日
微系统发展现状及其在无人装备领域应用和展望
专知会员服务
44+阅读 · 2024年2月5日
中国信通院《新型智慧城市产业图谱研究报告》
专知会员服务
33+阅读 · 2022年3月9日
中国信通院:量子信息技术发展与应用研究报告
专知会员服务
43+阅读 · 2022年1月1日
专知会员服务
39+阅读 · 2021年9月8日
【数字孪生】工业互联网和数字孪生
产业智能官
19+阅读 · 2019年9月5日
【数字孪生】工业互联网支持下的数字孪生车间
产业智能官
21+阅读 · 2019年6月3日
【数字孪生】超棒PPT解读Digital Twin十大领域应用!
产业智能官
103+阅读 · 2019年3月26日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
18+阅读 · 2018年12月24日
中国工程院:《全球工程前沿2018》(附PDF下载)
走向智能论坛
10+阅读 · 2018年12月5日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
8+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
6+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
3+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
7+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
7+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
15+阅读 · 11月25日
相关VIP内容
综述:生成式通信,面向6G的可控生成新范式
专知会员服务
12+阅读 · 7月13日
《大模型一体机应用研究报告(2025年)》,48页pdf
专知会员服务
27+阅读 · 2025年11月2日
《大模型行业可信应用框架研究报告》(附全文)
专知会员服务
40+阅读 · 2024年9月6日
最新《工业大模型应用报告》
专知会员服务
121+阅读 · 2024年4月5日
微系统发展现状及其在无人装备领域应用和展望
专知会员服务
44+阅读 · 2024年2月5日
中国信通院《新型智慧城市产业图谱研究报告》
专知会员服务
33+阅读 · 2022年3月9日
中国信通院:量子信息技术发展与应用研究报告
专知会员服务
43+阅读 · 2022年1月1日
专知会员服务
39+阅读 · 2021年9月8日
相关资讯
相关基金
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员