Skip to content

erleans/erleans_elixir_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Erleans Elixir Example

Simple Grain to show using Erleans from Elixir along with Ecto and Postgres.

$ mix deps.get
$ mix compile
$ iex --sname a@localhost -S mix

iex(a@localhost)1> ref = Erleans.get_grain(ErleansElixirExample, "somename")
...
iex(a@localhost)2> ErleansElixirExample.get(ref)
0
iex(a@localhost)3> ErleansElixirExample.increment(ref)
:ok
iex(a@localhost)4> ErleansElixirExample.get(ref)
1

About

Elixir example for using Erleans

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages