A small erlang centric cache server loosely based on memcached
License
jself/erl_tempcache
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
erl_tempcache is a small caching server for erlang use. It loosely follows the Memcached client api, and generally works the same way. To use: Compile all erl files (erl followed by c(filename).) -- eventually there will be a makefile for this. Start by calling cache_sup:start_link(). Functions are as follows: add(Key, Val, [Timeout]) -> ok or {error, exists} set(Key, Val, [Timeout]) -> ok get(Key) -> {ok, Val} or none del(Key) -> ok maxsize is defined in settings.cfg TODO: Eventually, I would like to make this into a full caching server with an http interface to store JSON objects. It was primarily created for use in an auth project that loads and caches users and data from disc.
About
A small erlang centric cache server loosely based on memcached
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published