Skip to content

Instantly share code, notes, and snippets.

@jeffweiss
Last active August 29, 2015 14:05
Show Gist options
  • Save jeffweiss/fc91cb63964f038d1913 to your computer and use it in GitHub Desktop.
Save jeffweiss/fc91cb63964f038d1913 to your computer and use it in GitHub Desktop.
Elixir Demo
brew update && brew install elixir
iex --name <yourname>@<yourip> --cookie demo
Node.connect :"[email protected]"
1. Clustering
a. Interaction w/ running code without having code
b. Remote process spawning
c. std in/out redirect
2. Supervision Trees
3. Live Code Update
upgrade = fn (name) ->
:sys.suspend name
:sys.change_code name, Worfbot.QuoteHandler, "0", []
:sys.resume name
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment