Skip to content

Instantly share code, notes, and snippets.

@RitterHou
Created May 16, 2020 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RitterHou/89fa24f7db5bbeffa22fd1a58a180739 to your computer and use it in GitHub Desktop.
Save RitterHou/89fa24f7db5bbeffa22fd1a58a180739 to your computer and use it in GitHub Desktop.
➜ ab ./test.sh
2020-05-16 13:52:52
Query DSL: {
"query": {
"term": {
"acctId": "A00000000000"
}
},
"size": 0
}
Benchmark 10 second(s) and cocurrency is 60
#############################################################################################################################################################################################################################################
Elasticsearch-1.5.2 >>> 172.19.66.70
#############################################################################################################################################################################################################################################
This is ApacheBench, Version 2.3 <$Revision: 1843412 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 172.19.66.70 (be patient)
Finished 1660 requests
Server Software:
Server Hostname: 172.19.66.70
Server Port: 9200
Document Path: /acct-trades-bills/_search
Document Length: 128 bytes
Concurrency Level: 60
Time taken for tests: 10.008 seconds
Complete requests: 1660
Failed requests: 1541
(Connect: 0, Receive: 0, Length: 1541, Exceptions: 0)
Total transferred: 358423 bytes
Total body sent: 460692
HTML transferred: 214003 bytes
Requests per second: 165.87 [#/sec] (mean)
Time per request: 361.736 [ms] (mean)
Time per request: 6.029 [ms] (mean, across all concurrent requests)
Transfer rate: 34.97 [Kbytes/sec] received
44.95 kb/s sent
79.93 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 2 0.8 2 10
Processing: 11 342 156.7 341 903
Waiting: 11 341 156.7 341 903
Total: 13 344 156.7 343 905
Percentage of the requests served within a certain time (ms)
50% 343
66% 399
75% 421
80% 454
90% 547
95% 620
98% 687
99% 784
100% 905 (longest request)
#############################################################################################################################################################################################################################################
Elasticsearch-7.5.2 >>> 172.19.66.77
#############################################################################################################################################################################################################################################
This is ApacheBench, Version 2.3 <$Revision: 1843412 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 172.19.66.77 (be patient)
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Finished 15993 requests
Server Software:
Server Hostname: 172.19.66.77
Server Port: 9200
Document Path: /acct-trades-bills/_search
Document Length: 165 bytes
Concurrency Level: 60
Time taken for tests: 10.001 seconds
Complete requests: 15993
Failed requests: 4238
(Connect: 0, Receive: 0, Length: 4238, Exceptions: 0)
Total transferred: 4034726 bytes
Total body sent: 4300864
HTML transferred: 2643248 bytes
Requests per second: 1599.11 [#/sec] (mean)
Time per request: 37.521 [ms] (mean)
Time per request: 0.625 [ms] (mean, across all concurrent requests)
Transfer rate: 393.97 [Kbytes/sec] received
419.96 kb/s sent
813.92 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 3 1.9 2 33
Processing: 3 35 16.4 32 139
Waiting: 3 35 16.4 32 139
Total: 6 37 16.5 35 141
Percentage of the requests served within a certain time (ms)
50% 35
66% 41
75% 46
80% 49
90% 59
95% 68
98% 80
99% 88
100% 141 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment