Counting total items in a backend store with TTL

kpandey kumar.pandey at
Mon Jul 22 13:17:31 EDT 2013

   This is kind of like the last thorn before moving with riak
implementation for me.
My use case for now is storing 
1) transient payload in memory backend with ttl  
2) storing something similar to user sessions in bitcask with ttl.

Since the backend stores are ttl, I need to be able to count the no of
active objects in the buckets every so often ( say every 10 min) 
js mapreduce is just not usuable and either times out or gives wrong count.
Is there some efficient way to count the total live objects in these buckets
backed by backend with ttl?

I'm using riak 1.4


View this message in context:
Sent from the Riak Users mailing list archive at

More information about the riak-users mailing list