Erlang distributed caching system