Skip to content
/ ditto Public

Process distribution and identification across nodes.

Notifications You must be signed in to change notification settings

satom99/ditto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

ditto

ditto provides an easy way of distributing and identifying processes across connected nodes by using mnesia.

Example
# config.exs
config :ditto, :nodes, [
  "one@localhost",
  "two@localhost",
  # ...
]

# terminal
>> iex --sname one@localhost -S mix
>> {:ok, pid} = GenServer.start_link Example, []
>> Ditto.register(:magic, pid)

>> iex --sname two@localhost -S mix
>> row = Ditto.find(:magic)
>> pid = row[:pid]
>> GenServer.cast pid, {:print, "Hello world!"}

About

Process distribution and identification across nodes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages