> 
> 1.8 is not tested yet in very large environments, which is important  
> because of the new caching mechanisms, but i am of the impression  
> that it runs fast, contains little overhead of unused modules or  
> applications and is a very good and important release!
> 

I think i have something to add here. the last month or so we have reworked the 
kassa site to both benfit from the lucene module (pierre's version) and mmbase 
1.8. 
With over 80.000 nodes i think this site counts as a biggy. I have experimented 
some with the query cach settings and if you can spare the memory, the query 
caches can now show a steady performance of 97% - 99%. unfortunately i hade to 
decrese theis size on account of other unrelated problems (memeory leak), but 
it is looking good. There is one interesting snag we have run into though:

Every night we have a job where we recalculate some status of about 30.000 
users. This couses a lot of updates. What we found is that becouse the query 
cache release strategies work quite well, most queries on these user nodes 
survived the updating of individual nodes. so for eveny update thousends of 
cache entries would have to be evaluated. The consequence was that the job 
'never got done'
We solved this by programatically diabeling the strategies before the job 
(which can be done globally for each cache), and enable them again after the 
job.
Here is a code snippet:

    private void setCacheStrategies(boolean enabled) {
        for (Iterator i = Cache.getCaches().iterator(); i.hasNext(); ) {
           Cache cache = Cache.getCache((String) i.next());
           if(cache instanceof QueryResultCache){
               log.service("Setting the strategies to: " + enabled + " for 
Query Cache " + cache.getName());
              
((QueryResultCache)cache).getReleaseStrategy().setEnabled(enabled);
           }
        }
    }

Ernst

> >
> > _______________________________________________
> > Developers mailing list
> > [email protected] 
> > http://lists.mmbase.org/mailman/listinfo/developers
> >
> 
> 
> -- 
> André van Toly
> web http://www.toly.nl                            mobile 
> +31(0)627233562
> --------------------------------------------------------------
> ---->><<--
> 
> _______________________________________________
> Developers mailing list
> [email protected] 
> http://lists.mmbase.org/mailman/listinfo/developers
> 
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to