Re: troll performance questions

Chuck Hagenbuch <[email protected]> Fri, 10 Jan 2003 14:31:17 -0500
Newsgroups gmane.comp.horde.troll
Message-ID <[email protected]>
Quoting Eric Rostetter <[email protected]>:

> * We could do as said above.  Of the 4 minutes, about 2 minutes are spent
> in the imap_getmailboxes() functions (called twice, once for % and once
> for %.%).  If we could do this in one call, we would cut the hit by 25%
> (from 4 minutes down to 3 minutes).

Take a look at what I just committed.

> * Maybe we could cache the newsgroup lists locally?  So the first person
> to hit it (cache empty or expired) would have to wait the 4 minutes, but
> then everyone else would use the cached values?  After all, the group 
> listing won't change that often, and isn't real critical, and won't take 
> up much space to cache...  Would this work?  Not sure how this would work 
> with subscriptions...

Yes, I think this would be worth exploring. I've spent about all the time I
can justify on Troll today, though.

-chuck

--
Charles Hagenbuch, <[email protected]>
must ... find ... acorns ... *thud*

-- 
Troll mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]