-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0dc4302
commit 74353b4
Showing
4 changed files
with
153 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.25.0 | ||
v0.26.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# v0.26.0 | ||
|
||
# 功能测试 | ||
|
||
## MOSN 作为 Istio 的数据平面 | ||
|
||
测试过程参考这个[文档](https://mosn.io/docs/quick-start/istio/) | ||
|
||
+ 参考文档中的方式二构建新的镜像 | ||
|
||
``` | ||
# 编译 mosn 可执行文件 | ||
make istio-1.5.2 | ||
make build | ||
# 构建镜像,Dockerfile 参考上述文档 | ||
docker build --no-cache --rm -t mosnio/proxyv2:0.26.0 ./ | ||
``` | ||
|
||
+ 使用文档中的教程,安装 Minikube, Istio 等环境,将其中的 mosn 镜像替换为新的版本 | ||
+ 运行完整的bookinfo,符合预期 | ||
|
||
# 基准测试 | ||
|
||
+ 使用[sofaload](https://github.com/antJack/sofaload)在本地搭建简单的性能测试 | ||
|
||
```Bash | ||
sofaload -D 10 --qps=2000 -c 200 -t 16 -p sofarpc sofarpc://127.0.0.1:12200 | ||
``` | ||
|
||
``` | ||
starting benchmark... | ||
Application protocol: sofarpc | ||
finished in 60.00s, 2000.00 req/s, 2.41MB/s | ||
requests: 120000 total, 120000 started, 120000 done, 120000 succeeded, 0 failed, 0 errored, 0 timeout | ||
sofaRPC status codes: | ||
120000 success, 0 error, 0 server exception, 0 unknown | ||
0 server threadpool busy, 0 error comm, 0 no processor, 0 timeout | ||
0 client send error, 0 codec exception, 0 connection closed, 0 server serial exception | ||
0 server deserial exception | ||
traffic: 144.65MB (151680000) total, 2.29MB (2400000) headers (space savings 0.00%), 142.36MB (149280000) data | ||
min max mean sd +/- sd | ||
time for request: 123us 14.46ms 261us 400us 98.38% | ||
time for connect: 4us 35us 13us 6us 71.00% | ||
req/s : 9.57 10.47 10.00 0.40 62.50% | ||
Latency Distribution | ||
50% 199us | ||
75% 261us | ||
90% 359us | ||
95% 447us | ||
99% 1.11ms | ||
``` |