Hi Swapnil, For some regions we do not have any expiration and for some others we have below:
<entry-time-to-live> <expiration-attributes timeout="900" action="destroy"/> </entry-time-to-live> Thanks, Arghya On Tue, Aug 11, 2015 at 5:22 AM, Swapnil Bawaskar <sbawas...@pivotal.io> wrote: > Hi Arghya, > > With hibernate l2, all requests do a get() on geode, followed by fetching > from the RDBMS. Are you seeing this while the application is being > bootstrapped i.e. the cache is still warming up? What eviction policy are > you using and what is the access pattern of you application? > > Thanks! > Swapnil. > > On Mon, Aug 10, 2015 at 12:55 AM, arghya sadhu <arghy...@gmail.com> wrote: > >> Hi, >> >> I am using geode as hibernate L2 cache without any cache loader or cache >> writer. >> >> Thanks, >> Arghya >> On Aug 10, 2015 12:45 PM, "Udo Kohlmeyer" <ukohlme...@pivotal.io> wrote: >> >>> Hi Arghya, >>> >>> If you think of Geode like a cache, totalHitCount would mean the total >>> number of times you found values when doing a get() with a key. Similarly >>> totalMissCount would mean the total number of time you did not find a value >>> when doing a get(). >>> >>> Usually a higher hitCount is better than a lower hitCount, because it >>> means that you could find the data for a key lookup. >>> >>> Are you using CacheLoaders? As typically a low hitCount could mean that >>> the data that is being looked up is not within Geode and one is trying to >>> load it (read-through) from a data source. Or it could mean that some one >>> is trying to look up keys that don't exist within your Region. >>> >>> How are you using/interacting with Geode? >>> >>> --Udo >>> >>> On 08/10/2015 04:53 PM, arghya sadhu wrote: >>> >>>> Hi All, >>>> >>>> What is the meaning of low totalHitCount and high totalMissCount while >>>> running show metrics in gfsh console.In my application I am seeing low >>>> totalHitCount and high totalMissCount.Hence i want to know if this is ok or >>>> something to worry about? >>>> >>>> Thanks, >>>> Arghya >>>> >>> >>> >