[token]
provider = fernet
[cache]
enabled = true
non-concurrent token create:
- response time - 89.595 (ms)
- requests per second - 11.16
non-concurrent token validate:
- response time - 72.046 (ms)
- requests per second - 13.88
concurrent token create:
- response time - 1665.453 (ms)
- requests per second - 60.04
concurrent token validate:
- response time - 1414.370
- requests per second - 70.70
> cat create_token
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 104.130.168.18 (be patient)
Server Software: Apache/2.4.7
Server Hostname: 104.130.168.18
Server Port: 35357
Document Path: /v3/auth/tokens
Document Length: 4290 bytes
Concurrency Level: 1
Time taken for tests: 17.919 seconds
Complete requests: 200
Failed requests: 0
Total transferred: 948600 bytes
Total body sent: 124000
HTML transferred: 858000 bytes
Requests per second: 11.16 [#/sec] (mean)
Time per request: 89.595 [ms] (mean)
Time per request: 89.595 [ms] (mean, across all concurrent requests)
Transfer rate: 51.70 [Kbytes/sec] received
6.76 kb/s sent
58.46 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.4 0 4
Processing: 74 89 42.3 82 430
Waiting: 74 89 42.3 82 430
Total: 74 90 42.3 83 431
Percentage of the requests served within a certain time (ms)
50% 83
66% 85
75% 86
80% 87
90% 90
95% 96
98% 162
99% 423
100% 431 (longest request)
> cat create_token_concurrent
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 104.130.168.18 (be patient)
Server Software: Apache/2.4.7
Server Hostname: 104.130.168.18
Server Port: 35357
Document Path: /v3/auth/tokens
Document Length: 4290 bytes
Concurrency Level: 100
Time taken for tests: 33.309 seconds
Complete requests: 2000
Failed requests: 0
Total transferred: 9486000 bytes
Total body sent: 1240000
HTML transferred: 8580000 bytes
Requests per second: 60.04 [#/sec] (mean)
Time per request: 1665.453 [ms] (mean)
Time per request: 16.655 [ms] (mean, across all concurrent requests)
Transfer rate: 278.11 [Kbytes/sec] received
36.35 kb/s sent
314.47 kb/s total
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 6 73.9 0 1001
Processing: 88 1619 204.3 1651 1805
Waiting: 88 1619 204.3 1651 1805
Total: 89 1625 215.1 1652 2638
Percentage of the requests served within a certain time (ms)
50% 1652
66% 1672
75% 1684
80% 1692
90% 1718
95% 1739
98% 1765
99% 1780
100% 2638 (longest request)
> cat validate_token
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 104.130.168.18 (be patient)
Server Software: Apache/2.4.7
Server Hostname: 104.130.168.18
Server Port: 35357
Document Path: /v3/auth/tokens
Document Length: 4290 bytes
Concurrency Level: 1
Time taken for tests: 720.459 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 47380000 bytes
HTML transferred: 42900000 bytes
Requests per second: 13.88 [#/sec] (mean)
Time per request: 72.046 [ms] (mean)
Time per request: 72.046 [ms] (mean, across all concurrent requests)
Transfer rate: 64.22 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.3 0 11
Processing: 61 72 7.5 71 160
Waiting: 61 72 7.5 71 160
Total: 61 72 7.5 71 160
Percentage of the requests served within a certain time (ms)
50% 71
66% 73
75% 73
80% 74
90% 76
95% 78
98% 82
99% 90
100% 160 (longest request)
> cat validate_token_concurrent
This is ApacheBench, Version 2.3 <$Revision: 1528965 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 104.130.168.18 (be patient)
Server Software: Apache/2.4.7
Server Hostname: 104.130.168.18
Server Port: 35357
Document Path: /v3/auth/tokens
Document Length: 4290 bytes
Concurrency Level: 100
Time taken for tests: 1414.370 seconds
Complete requests: 100000
Failed requests: 0
Total transferred: 473800000 bytes
HTML transferred: 429000000 bytes
Requests per second: 70.70 [#/sec] (mean)
Time per request: 1414.370 [ms] (mean)
Time per request: 14.144 [ms] (mean, across all concurrent requests)
Transfer rate: 327.14 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 3.2 0 997
Processing: 70 1413 38.2 1411 1594
Waiting: 70 1413 38.2 1411 1594
Total: 72 1414 38.3 1411 2424
Percentage of the requests served within a certain time (ms)
50% 1411
66% 1422
75% 1430
80% 1435
90% 1453
95% 1468
98% 1483
99% 1495
100% 2424 (longest request)