tarsgo_mclient.go:96: INFO : took 146657 ms for 10000000 requests 2020/01/18 16:40:37 tarsgo_mclient.go:113: INFO : sent requests : 10000000 2020/01/18 16:40:37 tarsgo_mclient.go:114: INFO : received requests : 10000000 2020/01/18 16:40:37 tarsgo_mclient.go:115: INFO : received requests_OK : 0 2020/01/18 16:40:37 tarsgo_mclient.go:116: INFO : throughput (TPS) : 68186 2020/01/18 16:40:37 tarsgo_mclient.go:117: INFO : mean: 1463218 ns, median: 897658 ns, max: 833883541 ns, min: 40970 ns, p99: 24386698 ns 2020/01/18 16:40:37 tarsgo_mclient.go:118: INFO : mean: 1 ms, median: 0 ms, max: 833 ms, min: 0 ms, p99: 24 ms
c=1000,n=10000000
1 2 3 4 5 6 7 8 9 10 11
./tars_client -config benchmark.conf 2020/01/18 16:42:19 tarsgo_mclient.go:42: INFO : concurrency: 1000 requests per client: 10000 2020/01/18 16:42:19 tarsgo_mclient.go:47: INFO : message size: 581 bytes 2020/01/18 16:44:33 tarsgo_mclient.go:96: INFO : took 133438 ms for 10000000 requests 2020/01/18 16:44:40 tarsgo_mclient.go:113: INFO : sent requests : 10000000 2020/01/18 16:44:40 tarsgo_mclient.go:114: INFO : received requests : 10000000 2020/01/18 16:44:40 tarsgo_mclient.go:115: INFO : received requests_OK : 0 2020/01/18 16:44:40 tarsgo_mclient.go:116: INFO : throughput (TPS) : 74941 2020/01/18 16:44:40 tarsgo_mclient.go:117: INFO : mean: 13189350 ns, median: 255591 ns, max: 1020977156 ns, min: 41305 ns, p99: 808153981 ns 2020/01/18 16:44:40 tarsgo_mclient.go:118: INFO : mean: 13 ms, median: 0 ms, max: 1020 ms, min: 0 ms, p99: 808 ms
hprose
c=100,n=10000000
1 2 3 4 5 6 7
info took 85780 ms for 10000000 requests 2020/01/18 16:53:47 info sent requests : 10000000 2020/01/18 16:53:47 info received requests : 10000000 2020/01/18 16:53:47 info received requests_OK : 10000000 2020/01/18 16:53:47 info throughput (TPS) : 116577 2020/01/18 16:53:47 info mean: 855396 ns, median: 611286 ns, max: 43307064 ns, min: 74772 ns, p99: 8799176 ns 2020/01/18 16:53:47 info mean: 0 ms, median: 0 ms, max: 43 ms, min: 0 ms, p99: 8 ms
c=1000,n=10000000
1 2 3 4 5 6 7
info took 55890 ms for 10000000 requests 2020/01/18 16:55:23 info sent requests : 10000000 2020/01/18 16:55:23 info received requests : 10000000 2020/01/18 16:55:23 info received requests_OK : 10000000 2020/01/18 16:55:23 info throughput (TPS) : 178922 2020/01/18 16:55:23 info mean: 5574522 ns, median: 5450258 ns, max: 112631418 ns, min: 86944 ns, p99: 15302910 ns 2020/01/18 16:55:23 info mean: 5 ms, median: 5 ms, max: 112 ms, min: 0 ms, p99: 15 ms
go-micro
c=100,n=10000000
1 2 3 4 5 6 7 8 9 10 11 12 13 14
./micro_client 2020/01/18 16:08:32 gomicro_client.go:43: INFO : 192.168.1.226:8972 1000000 100 2020/01/18 16:08:32 gomicro_client.go:47: INFO : concurrency: 100 requests per client: 10000
2020/01/18 16:08:32 gomicro_client.go:52: INFO : message size: 581 bytes
2020/01/18 16:10:30 gomicro_client.go:102: INFO : took 117938 ms for 1000000 requests 2020/01/18 16:10:31 gomicro_client.go:119: INFO : sent requests : 1000000 2020/01/18 16:10:31 gomicro_client.go:120: INFO : received requests : 1000000 2020/01/18 16:10:31 gomicro_client.go:121: INFO : received requests_OK : 0 2020/01/18 16:10:31 gomicro_client.go:122: INFO : throughput (TPS) : 8479 2020/01/18 16:10:31 gomicro_client.go:123: INFO : mean: 11462696 ns, median: 10945519 ns, max: 1015949740 ns, min: 10513193 ns, p99: 17612504 ns 2020/01/18 16:10:31 gomicro_client.go:124: INFO : mean: 11 ms, median: 10 ms, max: 1015 ms, min: 10 ms, p99: 17 ms
c=1000,n=10000000
1 2 3 4 5 6 7 8 9 10 11 12 13
2020/01/1816:11:09 gomicro_client.go:43: INFO : 192.168.1.226:897210000001000 2020/01/1816:11:09 gomicro_client.go:47: INFO : concurrency: 1000 requests per client: 1000
2020/01/1816:11:09 gomicro_client.go:52: INFO : message size: 581 bytes
2020/01/1816:12:01 gomicro_client.go:102: INFO : took 51922 ms for1000000 requests 2020/01/1816:12:01 gomicro_client.go:119: INFO : sent requests : 1000000 2020/01/1816:12:01 gomicro_client.go:120: INFO : received requests : 1000000 2020/01/1816:12:01 gomicro_client.go:121: INFO : received requests_OK : 0 2020/01/1816:12:01 gomicro_client.go:122: INFO : throughput (TPS) : 19259 2020/01/1816:12:01 gomicro_client.go:123: INFO : mean: 46115145 ns, median: 22666560 ns, max: 3060928934 ns, min: 10578529 ns, p99: 1050307726 ns 2020/01/1816:12:01 gomicro_client.go:124: INFO : mean: 46 ms, median: 22 ms, max: 3060 ms, min: 10 ms, p99: 1050 ms