kashe

Simple LRU Cache Application


Keywords
cache, erlang
License
Apache-2.0

Documentation

kashe (/kæʃ/) - Simple LRU cache

Build Status hex version

A very simple fixed-size cache implementation with a minimal get and put interface. Distributed as an OTP application and it can be used as a dependency.

Build

$ rebar3 compile

Testing it out

$ rebar3 shell
1> kashe:get(1).
undefined
2> kashe:put(<<"meaning of life">>, 42).
ok
3> kashe:get(<<"meaning of life">>).
42