native
https://github.com/litongjava/tio-boot-http-request-handler-demo 测试结果
(base) root@DL:~# ab -c100 -n100000 http://localhost:1024/ok
This is ApacheBench, Version 2.3 <$Revision: 1879490 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Completed 100000 requests
Finished 100000 requests
Server Software: -io
Server Hostname: localhost
Server Port: 1024
Document Path: /ok
Document Length: 3 bytes
Concurrency Level: 100
Time taken for tests: 8.896 seconds
Complete requests: 100000
Failed requests: 0
Non-2xx responses: 100000
Total transferred: 13300000 bytes
HTML transferred: 300000 bytes
Requests per second: 11241.30 [#/sec] (mean)
Time per request: 8.896 [ms] (mean)
Time per request: 0.089 [ms] (mean, across all concurrent requests)
Transfer rate: 1460.05 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 4 67.4 0 3040
Processing: 1 4 8.0 4 873
Waiting: 0 4 8.0 4 873
Total: 1 9 70.1 4 3044
Percentage of the requests served within a certain time (ms)
50% 4
66% 5
75% 5
80% 5
90% 7
95% 8
98% 10
99% 12
100% 3044 (longest request)