My Livebook project containing a talk on Ranch that I was asked to give to show how OTP constructs are used in the real world and expose some of Phoenix's underpinnings.
Daniel Flanagan 8e15e168ca | ||
---|---|---|
lib | ||
.formatter.exs | ||
.gitignore | ||
README.md | ||
mix.exs | ||
mix.lock | ||
ranch-talk.livemd | ||
readme.md |
readme.md
ranch-talk
I was asked to give a 5-15 minute talk on Ranch, a TCP socket acceptor pool, to show how OTP constructs are used in the real world and expose some of Phoenix's underpinnings. This Livebook contains my code and notes for that talk.
Thanks to Divvy for inviting me to give this talk.
Usage
Install and run a local Livebook in attached
mode and automatically grab my
code:
mix escript.install github livebook-dev/livebook
git clone https://git.lyte.dev/lytedev/ranch-talk.git
mix deps.get
env LIVEBOOK_PORT=5588 LIVEBOOK_IFRAME_PORT=5589 \
livebook server --name ranch_is_neat@localhost --cookie yes-please \
--default-runtime attached:ranch_is_neat@localhost:yes-please \
"$(pwd)/ranch-talk.livemd"
Enjoy!