Zend_Cache_Backend_MongoDb is an extended Cache Backend supporting tags, automatic_cleaning, expire_read, infinite_lifetime and get_list functionality. By taking advantage of the speed, reliability and distributed features of MongoDb it is possible to employ advanced caching features in complex and fragmented environments.
3. Component Requirements, Constraints, and Acceptance Criteria
This component will employ MongoDb as a storage engine for cached records.
This component will support access via Zend_Cache_Manager
This component will allow explicit declaration of the MongoDb object.
This component will include a factory method.
This component will support tagging.
This component will automatic cleaning.
This component will support infinite lifetime.
This component will support tag and ID listing.
This component will not support priority.
4. Dependencies on Other Framework Components
MongoDb pecl extension
Zend_Cache_Backend_ExtendedInterface
Zend_Cache_Backend
5. Theory of Operation
This adapter functions in a similar manner as the sqlite backend; however by employing MongoDb as the storage engine we are no longer restricted to the file sytem and gain the benefits of replication and high availability in clustered/load-balanced environments.
6. Milestones / Tasks
Milestone 1: [DONE] Develop the cache backend class.
Milestone 2: [DONE] Develop and pass unit tests.
Milestone 3: Incorporate feedback and change sets from review.