-
Notifications
You must be signed in to change notification settings - Fork 931
Benchmark test of jsonrpc
u0x01 edited this page May 29, 2019
·
1 revision
- OS: CentOS Linux release 7.4.1708 (Core)
- GOLANG: 1.12.5 linux/amd64
- RAM: 24G
- CPU: Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
- cpu cores: 4 * 8
- zk、server、client在同个机器上
-
consumer: warn
-
provider: warn
commit c73bad2eba5f98198148a70d75681ad88ca0775f
- client
# client
request_timeout : "3s"
# connect timeout
connect_timeout : "3s"
- request pkg size: 600
- response pkg size: 645
concurrency | total | succ | mean/ms | median | max/ms | min/ms | p99/ms | tps |
---|---|---|---|---|---|---|---|---|
10 | 100 | 100 | 1 | 0 | 4 | 0 | 3 | 9052 |
10 | 1000 | 1000 | 0 | 0 | 3 | 0 | 3 | 10578 |
10 | 1w | 1w | 0 | 0 | 8 | 0 | 4 | 11566 |
100 | 1000 | 1000 | 6 | 5 | 29 | 0 | 29 | 12942 |
100 | 1w | 1w | 7 | 5 | 46 | 0 | 37 | 13085 |
- request pkg size: 1024
- response pkg size: 1069
concurrency | total | succ | mean/ms | median | max/ms | min/ms | p99/ms | tps |
---|---|---|---|---|---|---|---|---|
10 | 100 | 100 | 1 | 0 | 2 | 0 | 2 | 8857 |
10 | 1000 | 1000 | 0 | 0 | 4 | 0 | 4 | 10026 |
10 | 1w | 1w | 0 | 0 | 13 | 0 | 5 | 10395 |
100 | 1000 | 1000 | 6 | 4 | 42 | 0 | 39 | 12061 |
100 | 1w | 1w | 8 | 6 | 53 | 0 | 41 | 11735 |
- request pkg size: 4096
- response pkg size: 4141
concurrency | total | succ | mean/ms | median | max/ms | min/ms | p99/ms | tps |
---|---|---|---|---|---|---|---|---|
10 | 100 | 100 | 1 | 1 | 4 | 0 | 4 | 4809 |
10 | 1000 | 1000 | 1 | 1 | 5 | 0 | 5 | 5737 |
10 | 1w | 1w | 1 | 1 | 11 | 0 | 9 | 5903 |
100 | 1000 | 1000 | 13 | 10 | 63 | 0 | 61 | 6073 |
100 | 1w | 1w | 14 | 7 | 149 | 0 | 120 | 6394 |