Closed wezell closed 7 years ago
More stats - this is rendering the home page without the page cache
hot-fries:dotcms3 will$ ab -n 10000 -c 25 http://127.0.0.1:8080/
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (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: Apache-Coyote/1.1
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /
Document Length: 33113 bytes
Concurrency Level: 25
Time taken for tests: 54.959 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 335730000 bytes
HTML transferred: 331130000 bytes
Requests per second: 181.95 [#/sec] (mean)
Time per request: 137.397 [ms] (mean)
Time per request: 5.496 [ms] (mean, across all concurrent requests)
Transfer rate: 5965.59 [Kbytes/sec] received
hot-fries:dotcms3 will$ ab -n 10000 -c 25 http://127.0.0.1:8080/
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (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: Apache-Coyote/1.1
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /
Document Length: 33113 bytes
Concurrency Level: 25
Time taken for tests: 50.523 seconds
Complete requests: 10000
Failed requests: 0
Total transferred: 335730000 bytes
HTML transferred: 331130000 bytes
Requests per second: 197.93 [#/sec] (mean)
Time per request: 126.308 [ms] (mean)
Time per request: 5.052 [ms] (mean, across all concurrent requests)
Transfer rate: 6489.33 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 3
Processing: 26 126 46.8 118 613
Waiting: 25 126 46.7 118 613
Total: 26 126 46.8 118 613
Percentage of the requests served within a certain time (ms)
50% 118
66% 133
75% 144
80% 151
90% 175
95% 198
98% 235
99% 271
100% 613 (longest request)
New doc for Caffeine cache provider created: http://auth.dotcms.com/docs/latest/caffeine-cache-provider
Note that the version for this doc is currently marked as 4.0; if the Caffeine cache provider is moved into release 3.7.0, please re-mark this issue as "Doc: Needs Doc" so we can make sure the doc version gets updated (and the doc gets pushed properly when 3.7.0 is released). Thank you!
Thanks @john-thomas-dotcms!
Two minor nits,
concurrencyLevel
parameter (not segmented)Cheers!
Caffine cache ( https://github.com/ben-manes/caffeine ) is the new hotness with regards to non-blocking caches. It is almost a drop in replacement for Google Guava. I wanted to see the performance difference between it and guava.
Expected Behavior
Caffine Cache should perform better
Current Behavior
Guava is good, but I've been benchmarking static files and see most threads stuck in guava, e.g.
Possible Solution
Implement a caffine cache
Known Workarounds
Steps to Reproduce (for bugs)
ab -n 100000 -c 25 http://127.0.0.1:8080/contentAsset/image/97e2e928-8f6c-4253-a07e-2eb1d5d10e3f/image/
Guava cache
Caffine Cache
Your Environment
OSX iMac 4 core i7 running in Eclipse debug mode