cache icon indicating copy to clipboard operation
cache copied to clipboard

Erlang in-memory cache

Results 4 cache issues
Sort by recently updated
recently updated
newest added

Hello there, is there a way to store multiple entires in a single key? (Like an ETS duplicate_bag) My use case would be a list that only contains the N...

For example, ``` {ok, _} = cache:start_link(my_cache, [{n, 10}, {ttl, 60}]). cache:put(my_cache, x, 100, 120). ``` `cache:lookup(my_cache, x)` will return `undefined` after about 54 seconds. Is this a bug?

[P] low
[T] bug

Evaluate a possible use-cases of given policies. https://en.wikipedia.org/wiki/Cache_replacement_policies

Is there any limitation on the size of the segmentation for optimal performance? I am trying to cache 3GB in a single segment and facing latency during :get operation.