'Twas brillig, and Colin Guthrie at 09/06/10 14:27 did gyre and gimble:
> I've not done much in the way of extensive testing in this regard but I
> figured I'd ask some questions and see if any other folks are in this
> situation.

Just for reference, I've switched for now to an Sqlite cache backend and
it solves the problem. I sadly could not use the
Zend_Cache_Backend_Sqlite backend as I do not have the legacy sqlite2
support on my server and I can't be bothered to compile up all the
necessary dependencies for a legacy library.

So I wrote a new cache backend based on Zend_Db instead. It wont make
much sense to use anything other than Pdo_Sqlite as a the adapter and
that's all I tested it with, but I've posted the patch to:
http://framework.zend.com/issues/browse/ZF-10013
for anyone that needs it.

I will likely create a hybrid file+db backend at some point that will
allow for unverified reads to come straight from the file rather than
touch and query the database for extra performance in some scenarios.

Col



-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

Reply via email to