enportugal wrote:
> 
> I'm using Zend_Cache to cache all queries from mysql server.
> 

Be aware that MySql can cache queries (if your setup has this turned on) and
some queries are quicker than a file based cache (I assume your cache is
file based).


enportugal wrote:
> 
> Currently I have about 12.000 cached files and sometimes  (1/10)
> Zend_Cache takes up to 10 seconds to load the cache.
> 

How do you decide what you need to cache? The only time that I cache
something is when I know it is very slow and can be speed up. I profile with
XDebug to find this out. Caching everything possible can actually slow
things down if you are caching something that was originally quicker than
accessing a file.




enportugal wrote:
> 
> 
> is there any way we can speed this up?
> 
> 
If you are using file based caching, I would recommend that you move to
sqlite based cache at least. Memcache would be nice but it not as available.
At least sqlite seems faster than a file based cache.

-- 
View this message in context: 
http://www.nabble.com/Zend_Cache-performance-tp23777010p23777614.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to