Counting total items in a backend store with TTL
siculars at gmail.com
Mon Jul 22 13:44:15 EDT 2013
riak has traditionally not counted things well, if at all. recently with the 1.4 release they have announced support for distributed counters, http://basho.com/basho-announces-availability-of-riak-1-4/. Try using that to keep track of various things?
On Jul 22, 2013, at 1:17 PM, kpandey <kumar.pandey at gmail.com> wrote:
> 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: http://riak-users.197444.n3.nabble.com/Counting-total-items-in-a-backend-store-with-TTL-tp4028494.html
> Sent from the Riak Users mailing list archive at Nabble.com.
> riak-users mailing list
> riak-users at lists.basho.com
More information about the riak-users