Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goncalotomas/kashe
A simple LRU Cache with no dependencies written in Erlang
https://github.com/goncalotomas/kashe
cache erlang
Last synced: 6 days ago
JSON representation
A simple LRU Cache with no dependencies written in Erlang
- Host: GitHub
- URL: https://github.com/goncalotomas/kashe
- Owner: goncalotomas
- License: apache-2.0
- Created: 2018-04-01T18:35:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-02T10:35:27.000Z (almost 7 years ago)
- Last Synced: 2024-03-15T02:45:20.761Z (11 months ago)
- Topics: cache, erlang
- Language: Erlang
- Size: 7.81 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kashe (/kæʃ/) - Simple LRU cache
[![Build Status](https://travis-ci.org/ClicaAi/kashe.svg?branch=master)](https://travis-ci.org/ClicaAi/kashe)
[![hex version](https://img.shields.io/hexpm/v/kashe.svg)](https://hex.pm/packages/kashe)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