Skip to content

kanatohodets/elixir_riak_core_ping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pingring

Sketch of a riak_core application in Elixir.

First demo app for "Stateful Web Apps with Phoenix and Riak Core"

This app is complete iff you only need to distribute CPU time around your ring: for data purposes it is incomplete, as it lacks handoff or write/read coordination.

See the hashpub, but essentially:

mix deps.get
MIX_ENV=dev_a iex --name dev_a@127.0.0.1 -S mix

Potentially also a terminal for dev_b, and dev_c if you want a cluster, plus

:riak_core.join('dev_b@127.0.0.1')

Just like in the hashpub README

Feel free to open an issue if you run into trouble!

At the moment Riak Core and its dependencies do not build under Erlang 19, so please stick to Elixir on top of Erlang 18 when playing with this.

About

elixir + riak core for distributing CPU work around a ring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published