CakePHP cache engine analysis
summary
Analysis compares CakePHP cache engines (file, memcached, Redis, APCu, array, null) with custom timing scripts, JMeter and MireBenchmark and PHP 5 environment. Tests run read/write batches of 100, 500, 1,000 and 10,000 requests and a JMeter workload with 1,000 concurrent requests. Results show file fastest on reads, memcached fastest on writes and lowest latency overall; Redis wins when atomic operations or complex data manipulation are required. Recommendation depends on read/write profile, budget and deployment (file for read‑heavy blogs, memcached for high throughput, Redis for advanced use).
AI-written summary · about
chapters (9)
- 0:00Introduction and speaker intro
- 1:04What is a cache system
- 6:06Cache engines in CakePHP
- 9:45Performance analysis setup
- 11:14Read/write operation tests
- 12:35Workload test results
- 13:39Benchmark test results
- 14:45Choosing the best engine
- 17:15Conclusion and Q&A
related talks
01h 04mCaching Best Practices
42mSymfony Cache: a premium recipe to fast apps
45mUsing and (slightly) abusing APCu cache in high load concurrent environments
39mPHP Performance Demystified - Measure, Understand, Optimise
54mBottleneck Analysis
31mFrom Runtime to Resilience: Scaling PHP
01h 03mMaximising Performance With Zend Framework
50mPerformance optimization: how do I go about it?
