0

I've setup the enterprise library caching counters using Perfmon. However all I can see is number of entries in cache.

COuld someone please help me if there's way to find out the size of the cached object so that I can specify correct value for Max num of items to be cached and removed etc?

Also, what does Missed Caches really means as I see quiet large number of misses although my web application is working as expected. Do I need to worry about this counter?

Nil Pun
  • 17,035
  • 39
  • 172
  • 294

1 Answers1

1

Enterprise Library Caching does not provide the size of the cache or the size of objects in the cache.

There are various approaches to finding the object size that you could use to try to tune the cache size. See:

A Cache Miss is when an item is attempted to be retrieved from the cache but the key is not found in the cache. Usually when this happens you would add the item to the cache. This is not usually alarming since for a cache with no backing store it will be empty at first so initially you would see cache misses but misses should decrease as the cache is loaded (unless of course items expire and are removed from the cache).

Community
  • 1
  • 1
Randy Levy
  • 22,566
  • 4
  • 68
  • 94