Add support for Zend Cache backend
lyricnz - May 15, 2009 - 10:52
| Project: | Cache Router |
| Version: | 6.x-1.0-rc1 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
See http://files.zend.com/help/Zend-Server-Community-Edition/zenddatacache.html for documentation on the API.

#1
Quick research indicates that this would probably be identical to the APC engine, apart from:
apc_fetch($key) ==> zend_shm_cache_fetch($key)
apc_store($key, $cache, $expire) ==> zend_shm_cache_store($key, $cache, $expire)
apc_delete($key) ==> zend_shm_cache_delete($key)
and the "function_exists('apc_add'))" in lock().
I suppose some of flush() might be able to be replaced with zend_shm_cache_clear() too. I haven't tried this, but Zend also has a "zend_datacache.apc_compatibility" which makes some APC compatible methods available - which I suppose would work too.
#2
I can provide a patch if you want.
#3
+1 I've tested zend-ce and wondered it's performance.
Another idea is using it's namespace parameter for bins!
#4
i use Zend-Server-Community-Edition for local dev/demo on window. would be helpful is supported :-)