Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cache Bench

Elgg 6.1

Cache benchmarking in Elgg (Redis vs Files vs QueryCache)

What this plugin does

  1. Tunable settings:
  • Payload: 1 / 10 / 50 / 100 KB
  • Iterations: 1K–100K
  • Checkbox “Disable static item caching” for a fair backend-only benchmark.
  1. Automatic checks:
  • Redis: redis_servers, Redis PHP extension, $CONFIG->redis flag.
  • Files: presence of cacheroot / dataroot and write permissions.
  1. Precise results table like:

Backend Payload Iterations Time,s Avg,ms Ops/sec Redis 10 KB 20000 0.0123 0.615 16260 Files 10 KB 20000 0.0456 2.280 4386

  1. Static caching toggle:
  • Enabled (default): you mainly see Phpfastcache RAM layer.
  • Disabled: you measure raw backend performance (disk vs Redis).

Open /admin/server/cache_bench and you have a ready-to-use benchmark page integrated into Elgg admin.

About

Cache benchmarking in Elgg (Redis vs Files vs QueryCache)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages