Memory Backend TTL doesn't work

성동찬_Chan chan at
Mon Oct 14 07:30:09 EDT 2013


I'm checking riak to use as a cache like memcached.
But I found some strange situation.
I set "ttl" like this to expire data, but failed.
 {riak_kv, [
    {storage_backend, riak_kv_memory_backend},
    {memory_backend, [
      {max_memory, 8192},
      {ttl, 1}


TTL isn't supported on riak_kv_memory_backend?
I changed riak_kv_memory_backend to riak_kv_bitcask_backend, that's fine.


More information about the riak-users mailing list