riak_kv_cache_backend config questions

Kelly McLaughlin kelly at basho.com
Tue Aug 23 10:22:40 EDT 2011


Tony,

riak_kv_cache_backend_ttl is the amount of time to extend an object's lease or lifespan when accessed whereas riak_kv_cache_backend_max_ttl is the amount of time after which no further extensions should be granted. 

Kelly


On Aug 23, 2011, at 7:49 AM, Tony Bussieres wrote:

> Hi all,
> 
> Could someone explain with an example what's the difference between :
> 
> riak_kv_cache_backend_max_ttl 
> and 
> riak_kv_cache_backend_ttl
> 
> Does the value of riak_kv_backend_max_ttl is also in seconds?
> 
> Here's a snippet from the documentation found at http://wiki.basho.com/Configuration-Files.html
> riak_kv_cache_backend
> A backend that behaves as an LRU-with-timed-expiry cache
> riak_kv_cache_backend_memory
> Maximum amount of memory to allocate, in megabytes (default: “100”)
> riak_kv_cache_backend_ttl
> Amount by which to extend an object’s expiry lease on each access, in seconds (default: “600”)
> riak_kv_cache_backend_max_ttl
> Maximum allowed lease time (default: “3600”)
> Thanks!
> 
> -tony
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20110823/3a2f147e/attachment.html>


More information about the riak-users mailing list