Speaking of the new objectbroker functions, could someone more knowledgeable 
than I correct my understanding of what each of the object broker report 
headers is supposed to mean? Sorry if I missed this somewhere...

Specifically:

*What counts as a "Hit"?*
The object in the objectbroker (i.e., a combination of the type, objectid, 
webskin, url parameters, any other cachable information) was found and can 
be returned as is.

*What counts as a "Miss"?*
EITHER
   The object was changed / removed as another thread / user / whatever 
changed or borked the original reference
OR
   The object was not found at all in the objectbroker cache (could be 
because it is the first hit, the type was flushed, etc.)
*
What counts as a "Flush"?
*The type object changed (i.e., someone edited a dmHTML) and or a descendent 
changed
*
What counts as an "Eviction"?
*There is no more space in the objectbroker cache for this kind of object
OR
There is no more memory available for FarCry to use for the objectbroker. 
Rather than crash, get rid of some entries

*What counts as a "Null Hit"?
*The object should have been there, but the reference has been put in the 
recycling bin awaiting to be reaped

*What counts as a "Reap"?*
Objects that were put in the recycler and subsequently deleted from the 
memory available. 


With all that said, I have a few questions:

1) If one had infinite memory, one wouldn't need to have any evictions, 
right?
2) If there are null hits, one would also expect there to be a few reaps as 
the recycler does its work, right?
3) Generally a high hit/miss ratio is indicative that things are cached well 
and that they aren't changing often. 

Thanks!

Tomek





-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to