1.向tomcat写入数据
[esadmin@oracle1 bin]$ ab -n10000 -c10 http://192.168.1.7:8080/
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 192.168.1.7 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software:
Server Hostname: 192.168.1.7
Server Port: 8080
Document Path: /
Document Length: 11219 bytes
Concurrency Level: 10
Time taken for tests: 23.597 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 113310000 bytes
HTML transferred: 112190000 bytes
Requests per second: 423.79 [#/sec] (mean)
Time per request: 23.597 [ms] (mean)
Time per request: 2.360 [ms] (mean, across all concurrent requests)
Transfer rate: 4689.38 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.3 0 6
Processing: 1 22 54.1 11 957
Waiting: 1 21 52.9 11 956
Total: 1 23 54.1 12 957
Percentage of the requests served within a certain time (ms)
50% 12
66% 16
75% 19
80% 23
90% 36
95% 56
98% 198
99% 302
100% 957 (longest request)
2.观察ES数据库的变化
sspu-tomcat-2024.06.30 green open 3 1 10031 1.3mb