A simple test of the service capabilities of Springboot and Tomcat

Source: Internet
Author: User
Tags server port

First, test springboot results

This is apachebench, Version 2.3 < $Revision: 1748469 $>
Copyright 1996 Adam Twiss, Zeus technology LTD, http://www.zeustech.net/
Licensed to the Apache software Foundation, http://www.apache.org/

Benchmarking 172.16.10.6 (Be patient)
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Finished requests


Server Software:
Server hostname:172.16.10.6
Server port:8897

Document Path:/hello
Document length:20 bytes

Concurrency level:1
Time taken for tests:33.157 seconds
Complete requests:1000
Failed requests:0
Total transferred:153000 bytes
HTML transferred:20000 bytes
Requests per second:30.16 [#/sec] (mean)
Time per request:33.157 [MS] (mean)
Time per request:33.157 [MS] (mean, across all concurrent requests)
Transfer rate:4.51 [Kbytes/sec] Received

Connection Times (MS)
Min MEAN[+/-SD] Median max
Connect:6 15 60.6 8 1302
Processing:8 17 27.5 12 508
Waiting:7 15 22.7 11 454
Total:14 32 66.9 21 1324

Percentage of the requests served within a certain time (MS)
50% 21
66% 24
75% 26
80% 27
90% 34
95% 119
98% 142
99% 154
100% 1324 (Longest request)

Ii. test results for Tomcat

Benchmarking 172.16.10.6 (Be patient)
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Completed requests
Finished requests


Server software:apache-coyote/1.1
Server hostname:172.16.10.6
Server port:8097

Document Path:/fgl-test-war/hello
Document length:16 bytes

Concurrency level:1
Time taken for tests:32.010 seconds
Complete requests:1000
Failed requests:0
Total transferred:2111000 bytes
HTML transferred:16000 bytes
Requests per second:31.24 [#/sec] (mean)
Time per request:32.010 [MS] (mean)
Time per request:32.010 [MS] (mean, across all concurrent requests)
Transfer rate:64.40 [Kbytes/sec] Received

Connection Times (MS)
Min MEAN[+/-SD] Median max
Connect:6 15 61.2 8 1412
Processing:8 16 29.8 11 727
Waiting:7 14 18.8 10 225
Total:14 31 70.0 20 1422

Percentage of the requests served within a certain time (MS)
50% 20
66% 22
75% 24
80% 25
90% 30
95% 119
98% 138
99% 143
100% 1422 (Longest request)

Iii. Conclusion

The test results may not be accurate, but the feeling of Springboot inline Tomcat does not need to be optimized

A simple test of the service capabilities of Springboot and Tomcat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.