Randy Watler wrote:

Scott/David,

So I have added the CastorXmlPageManager to the underlying FileCache
listeners and have managed some degree of success in reaping the page
context caches. However, I am trying to optimize the operation of
CastorXmlPageManager cache eviction by using the last accessed time of the
FileCacheEntry and comparing that to the page context creation times in the
cache. The idea is to eliminate the complete dumping of the cache without
performing complex dependency tracking and tests.

Anyway, I am not sure if the approach is sound or not yet, but it appears
that the last accessed time of the cache elements is not being updated when
elements are referenced. Obviously, my algorithm relies on this happening
and it would seem that the LRU features of the FileCache require this
information as well.

I thought I'd check to see if you had any input or insight into this before
I went ahead and had the various page manager documents and associated
handlers set the last access times. I do not plan to support fine grain
access tracking. Instead, I was just going to register PageManager level
accesses; in other words, I was not going to consider rendering of a page or
navigational document to be an access.

Thoughts?

All APIs which update or reload the FileCacheEntry should update the timestamp. If this isnt being done, lets change it.


We could have a daemon thread that checks the PSML file and see if its updated outside of the server, such as the administrator editing the file on the file system with a text editor.

I think we should continue developing the Site Manager portlet, combined with a page customizer, so that all PSML editing is done by the Portal itself.


-- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773 4646 [mobile] +01 707 529 9194

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to