[opencms-dev] Flexcache counters

Roman Uhlig Maxity.de roman.uhlig at maxity.de
Tue Feb 23 14:38:20 CET 2010


 
Hehe, I'd like that. ;)

Tho plain storage of resource access counters in a database would not work with OpenCms pages with high load in terms of performance (1 insert per hit). 

I.e. we've developed an application bean for that, which collects these data, processes and consolidates them and stores them as bulk data in a database. Still creates about 20 GB of data per year. ;)

Roman

-----Urspr√ľngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Achim Westermann
Gesendet: Dienstag, 23. Februar 2010 14:21
An: The OpenCms mailing list
Betreff: Re: [opencms-dev] Flexcache counters

Hi Chuck,

this had to be programmed. I have an idea:

Write a subclass of the <cms:inlclude> tag implementation. Change opencms.tld to use this class instead for <cms:include>
Within your implementation, store a row in a custom db table (uri, time start, time end) and call super to do the cms:include work. Later 
reporting pages could be added to the OpenCms administration. All could be bundeled to an OpenCms module.

Could you please implement all this and share it as open source?

;-)

Achim

Chuck Mysak wrote:
> Hello all,
> 
> did anyone who worked with flexcache managed to get for example a set of 
> counters relative to the resource that can be used to determine the 
> number of times a resource has been accessed?
> 
> Regards,
> 
> Chuck
> 
> 
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________
> 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

_______________________________________________
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



More information about the opencms-dev mailing list