The Weblog Entry tags query is done against a tag-statistics table and so it should be fast.
All Roller Weblog pages are cached by default. Have you done some performance testing that shows a problem with tag performance? - Dave On Thu, Nov 12, 2009 at 8:23 AM, Christopher Blasnik <[email protected]> wrote: > Hello all, > > I would need some opions / info on the performance of tagcloud queries: > Everyone surely is familiar with the call to > > $model.weblog.getPopularTags... > > > in order to create a tagcloud. > > The actual logic is done in velocity, and getPopularTags issues a DB query. > > Here are my questions: > - Is this fast enough for sites with a lot of traffic && a lot of tags? > - Is there any caching involved for the tag queries (looks like there isn't, > but it is very likely that I've overlooked something obvious)? > - If there's no caching, would you recommend to move the tag-cloud query to > a cached object (again, for a high-traffic site)? > [This would be needed for a site with lots of tags AND lots of traffic. My > suggestion would be to cache / flush the cache of tags once per day] > > Cheers, > - Chris > > -- > Christopher Blasnik > UCS - unique computing solutions gmbh > Löwengasse 2/8 > A-1030 Vienna, Austria > http://www.ucs.at/ > mailto:[email protected] > > > >
