-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 enportugal wrote: > HI, > > I'm using Zend_Cache to cache all queries from mysql server. > > Currently I have about 12.000 cached files and sometimes (1/10) Zend_Cache > takes up to 10 seconds to load the cache. > > I'm using file store on a Debian. > > is there any way we can speed this up? > > 10 seconds is a long time to wait for a cache to load, > > Regards, >
At a guess, it's due to Linux taking a long time to open the directory as there are so many files in it. Are you able to use any other backend? (e.g. memcached) If you wish to keep using files, the only way to improve performance would be to have some sort of directory hashing used so there aren't zillions of files in one directory. David. - -- David Goodwin Pale Purple Limited Office: 0845 0046746 Mobile: 07792380669 http://www.palepurple.co.uk Company No: 5580814 'Business Web Application Development and Training in PHP' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkofsDQACgkQ/ISo3RF5V6aopQCg+FHwvDVQv3ZFkH/24sDtAIhR a9EAn3ifJWgQ8pXFoF7IPA0/sJ9TSxoi =uBmw -----END PGP SIGNATURE-----
