Last active
August 29, 2015 14:05
-
-
Save jeffweiss/fc91cb63964f038d1913 to your computer and use it in GitHub Desktop.
Elixir Demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew update && brew install elixir | |
iex --name <yourname>@<yourip> --cookie demo | |
Node.connect :"[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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