Postponed
Project:
Cache Router
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 May 2009 at 10:52 UTC
Updated:
4 May 2011 at 00:41 UTC
See http://files.zend.com/help/Zend-Server-Community-Edition/zenddatacache.html for documentation on the API.
Comments
Comment #1
lyricnz commentedQuick 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.
Comment #2
lyricnz commentedI can provide a patch if you want.
Comment #3
andypost+1 I've tested zend-ce and wondered it's performance.
Another idea is using it's namespace parameter for bins!
Comment #4
najibx commentedi use Zend-Server-Community-Edition for local dev/demo on window. would be helpful is supported :-)
Comment #5
andypostSuppose we need a config option to choose using SHM or DISK
But locking a lookup array is still issue
There's a good news
Comment #6
andypostit seems ZDC works fine as apc except break some tests with $user->cache
So lets postponed until 2.0 branch
Comment #7
bibo commentedIs there some proggress on this :)?
Comment #8
jwhat commentedCan we revive this? I'd like to use it.
Comment #9
lyricnz commentedCacherouter development has basically stopped. Can't you just enable APC compatibility in your Zend install, and use that?