[opencms-dev] Reduce calls to DB

Tom Wolf twb15 at hotmail.com
Sat Feb 19 14:54:03 CET 2011


Hi Michael,
 
Thanks - I just found out about the commercial version for medium-large sites - I wonder what the price is...
 
I debugged the core, and it seems that permission checks aren't done via the DB - it looks like the flexCache only works on the actual file content, but the OC first needs to retrieve the object information .
 
Is there any open-source module for this?
 
Thanks


 

> Date: Sat, 19 Feb 2011 12:42:21 +0100
> From: emmerich at german-navy.de
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] Reduce calls to DB
> 
> Tom,
> 
> > It seems like even if I have a single page and I mark it as "cache:
> > always" - each request for this page will need to first query the DB
> > (even after it is cached).
> >
> > This is a problem for heavy load sites - is there anything I can do to
> > allow the request to be served directly from the cache (unless it
> > doesn't exist)?
> 
> The flex cache only caches the HMTL-output of a JSP in OpenCms.
> If does not cache permission checks for example which have to be done 
> everytime you request something from OpenCms.
> 
> To reduce the number of requests that are sent to the DB, you could use 
> the OCEE Accelerator, which actually is a cache that is sitting right 
> between OpenCms and the database. This would the the recommenced way to 
> go for heavy load sites.
> 
> 
> Kind regards,
> Michael
> 
> -- 
> Privat: emmerich at german-navy.de
> 
> German Naval History: www.german-navy.de
> Die Reisen des Nönö Bären: www.baerenurlaub.de
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110219/4d4f8b2b/attachment.htm>


More information about the opencms-dev mailing list