>From bin/varnishd/cache/cache_hash.c:

 * We have two kinds of structures, objecthead and object.  An objecthead
 * corresponds to a given (Host:, URL) tupple, and the objects hung from
 * the objecthead may represent various variations (ie: Vary: header,
 * different TTL etc) instances of that web-entity.

And from bin/varnishd/cache/cache.h:

/* Object core structure ---------------------------------------------


 * Objects have sideways references in the binary heap and the LRU list


 * and we want to avoid paging in a lot of objects just to move them up


 * or down the binheap or to move a unrelated object on the LRU list.


 * To avoid this we use a proxy object, objcore, to hold the relevant


 * housekeeping fields parts of an object.


 */


-- 
Guillaume Quintard

On Fri, Jan 22, 2016 at 8:41 PM, Debraj Manna <[email protected]>
wrote:

> Can someone point me to some doc where these stats are explained?
> On Jan 22, 2016 5:37 PM, "Debraj Manna" <[email protected]> wrote:
>
>> Hi,
>>
>>
>>    - What is the difference between n_object, n_objectcore &
>>    n_objecthead?
>>    - When the objects get expired (or the value of MAIN.n_expired changes)
>>    will the value of these counters reduce?
>>
>>
>>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to