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@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com