yu199195 commented on code in PR #887: URL: https://github.com/apache/shenyu-website/pull/887#discussion_r1166691156
########## i18n/zh/docusaurus-plugin-content-docs/current/benchmark-test/benchmark-test.md: ########## @@ -0,0 +1,90 @@ +--- +sidebar_position: 8 +title: ShenYu 基准测试报告 +keywords: ["test", "benchmark-test"] +description: ShenYu 基准测试报告 +--- + +### 硬件环境 + +后端Mock服务所在服务器: + +- CPU: 4核8线程 Intel Cascade Lake @ 3.0GHz * 4 +- RAM: 16G + +网关节点所在服务器: + +- CPU: 4核8线程 Intel Cascade Lake @ 3.0GHz * 4 +- RAM: 16G + +测试工具占用资源很少,安装在网关节点服务器。 + +### ShenYu 版本 + +- ShenYu Admin: 2.6.0 +- ShenYu Bootstrap: 2.6.0 + +### 测试工具 + +wrk-4.2.0 + +### 测试用例说明 + +- 使用 Mock 服务模拟一个平均响应时长 20ms ,响应报文约 2k 的接口 +- 每次测试时长 3 分钟 +- JVM 配置: + - -Xmx 4g + - -Xms 4g + - -Xmn 1g + - -Xss 512k + - -XX: +DisableExplicitGC + - -XX: LargePageSizeInBytes=128m +- shenyu-bootstrap 配置: + - selector 缓存:关闭 + - rule 一级缓存:开启 + - 前缀树缓存:开启 + - selector-thread: 1 + - work-thread number: 4 Review Comment: why 4? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
