A.L.E.C alec@alec.pl wrote:
On 08/27/2014 02:26 PM, Sven Hartge wrote:
The documentation mentions that caching may even reduce performance in some situations but does not specify which situations. So far I have not be able to experience any slowdowns or speedups while using the index cache so I don't know if I gain anything by using or not-using it.
Depends on what imap server are you using and the mailbox sizes.
Courier is the IMAP server right now (moving to Dovecot in the future). Concerning mailbox sizes: some users have ridiculous amounts of mails in their INBOX or any other folder. Talk about 20000 and more. But we tell those uses to use a real mail client like Thunderbird and that our webmail service is not the right thing for them.
Using cache in big deployments might be a kind of load balancing, because you take over some load from IMAP to DB.
I think I will need to test then.
Any suggestions on the kind of cache? memcached, apc or mysql-db? If memcached, how do I determine the most usefull size of the cache?
Right now we are using Squirrelmail which does not have any cache for optimization, so if things don't get worse than that with Roundcube (with or without cache), things will be fine.
Grüße, Sven.