[horde] IMAP caching

Michael M Slusarz slusarz at horde.org
Fri Aug 2 19:39:01 UTC 2013


Quoting lst_hoe02 at kwsoft.de:

> Zitat von Michael M Slusarz <slusarz at horde.org>:
>
>> Quoting Simon Wilson <simon at simonandkate.net>:
>>
>>> I was just looking at this git commit:
>>>
>>> https://github.com/horde/horde/commit/e80f5977a8a38df72caaa57be4bd28f315be3549
>>>
>>> I have always had cache = false in my Imp backends.local.php...  
>>> and have never worried about it, but reading the commit, could I  
>>> please ask some clarification questions:
>>>
>>> If I set the Imp cache = sql does that function entirely  
>>> independently of the horde caching setup (which is currently using  
>>> hashtable / redis)?
>>
>> Yes.
>>
>>> Does using sql IMAP caching provide much of a performance boost?
>>
>> *ANY* IMAP caching provides a performance boost.
>>
>> The problem is that Horde_Cache is setup to handle discrete,  
>> singluar pieces of data.  IMAP caching instead requires multiple  
>> different pieces of data that are interconnected and need to be  
>> queried relative to each other.  Thus, the need for a more specific  
>> caching solution (we have to do all sorts of "tricks" to allow  
>> Horde_Cache to store the data).
>>
>> michael
>>
>
> Does this imply that even with Horde_Cache setup (file based) it  
> might be better to use for example sql as IMAP cache because of the  
> special needs?

This implies that you should not use Horde_Cache, if possible.  It's  
not the end of the world if you do (it is still faster than uncached  
data), but the other two options are significantly faster.

michael



___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list