Hi Nico, That was a good thought. Thanks ! We did actually think along those lines today, but it seems like with the existing code base, that would be a big change unfortunately ....
The other thing we learnt is that if we did "stats slabs" which gives info on all the slabs, and then did a "cachedump" on each of the slab ids, we could search for the key we are looking for in the "cachedump" result. And that key entry gives an expiration time, from which we could potentially at least derive Last cached time. Thanks ! -Subodh Thanks ! -Subodh On Thu, May 12, 2016 at 4:17 AM, Nicolas Motte <lingusi...@gmail.com> wrote: > Hi, > > One solution would be to store your stats inside Memcached. > > You would have > key1->value1 > key1_stats1->value_stats1 > ... > > But of course it has an impact on your application, network and storage. > > Cheers > Nico (from a smartphone) > > On 11 May 2016, at 19:38, Batti <subodhbatt...@gmail.com> wrote: > > Hi there, > > I am trying to determine if memcached offers any sort of statistics (like > the one we get with "stats") *for a specific key/value pair* that the > user stored into the cache. > These are the stats that I am specifically looking for, for each *key/value > pair* stored in the cache: > > 1. Last cached time > 2. Total hits > 3. Server Name. > > Is it possible to get this information for each *key/value pair* stored > in the cache? > > Thanks a lot ! > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "memcached" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to memcached+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "memcached" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/memcached/NsovJVJdIog/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > memcached+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.