<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[
Zend_Cache_Backend_Redis is a simple backend for Zend\Cache in Redis. Currently we've got standard adapter for Redis
Zend Framework: Zend_Cache_Backend_Redis Component Proposal
Proposed Component Name
Zend_Cache_Backend_Redis
Developer Notes
http://framework.zend.com/wiki/display/ZFDEV/Zend_Cache_Backend_Redis
Proposers
Rostyslav Mykhajliw
Zend Liaison
http://github.com/necromant2005/zeus-redis
Revision
1.0 - 32 December 2010: Beta specification. (wiki revision: 10)
Table of Contents
1. Overview
GitHup sources2. References
3. Component Requirements, Constraints, and Acceptance Criteria
4. Dependencies on Other Framework Components
- Zend\Exception
- Zend\Cache\Backend\AbstractBackend
5. Theory of Operation
The primary goal of this component is realize Zend\Cache\Backend\AbstractBackend interface for Redis and allow use it natively from Zend Framework, also integrate into Zend\Cache\Cache factory method
- auto serialization/unserialization data
- allow put data by key
- allow get data by key
- allow delete data by key
- infinite lifetime support
6. Milestones / Tasks
- Milestone 1: [DONE] Create a base operation get/set/delete
- Milestone 2: [DONE] Realize interface Zend\Cache\Backend\AbstractBackend
- Milestone 3: Write a stable documentation.
7. Class Index
- Zend\Cache\Backend\Redis
8. Use Cases
| UC-01 |
|---|
... (see good use cases book)
3 Comments
comments.show.hideJan 04, 2011
Marc Bennewitz (private)
<p>Please note that the cache component will be completely re-factored.<br />
Please take a look at:
<a class="external-link" href="http://framework.zend.com/wiki/display/ZFPROP/Zend+Cache+2.0+-+Marc+Bennewitz">http://framework.zend.com/wiki/display/ZFPROP/Zend+Cache+2.0+-+Marc+Bennewitz</a></p>
Aug 09, 2011
Benoît Durand
<p>What is the status of Redis in ZF2? This backend is fast.</p>
Oct 12, 2011
Colin Mollenhour
<p>Why on earth would you not support tags with this backend?! Using Redis' excellent data structures makes tagging is easy and fast.</p>
<p>I've implemented a Redis backend that supports tagging and passes all unit tests (and adds some additional unit tests) for ZF 1.x.
<a class="external-link" href="https://github.com/colinmollenhour/Zend_Cache_Backend_Redis">https://github.com/colinmollenhour/Zend_Cache_Backend_Redis</a></p>
<p>A future version will use pipelining and possibly transactions (if there is no performance hit).</p>