simple_cache application from Erlang and OTP in Action
Erlang Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
apps
config
rel
.gitignore
.travis.yml
README.md
TODO
rebar.config
rebar.lock
rebar3

README.md

Simple Cache

This is the simple_cache application from the superb book Erlang and OTP in Action. The full source code for the book is here.

All I've done is reformat the code so I can build it with rebar. Credit goes to the original authors and all mistakes are my own.

Tim

Build

$ rebar3 compile

Running

  • Start 2 nodes in a terminal 'erl –name contact1 -setcookie xxxxxxxx' and 'erl –name contact2 -setcookie xxxxxxxx'
  • make && ./rebar generate -f
  • Run the application ./rel/simple_cache/bin/simple_cache console

Useful Links