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.
Find a file
2022-02-15 10:10:35 -06:00
lib Initial draft 2022-02-11 14:09:56 -06:00
.formatter.exs Add talk timer 2022-02-11 12:05:42 -06:00
.gitignore Add talk timer 2022-02-11 12:05:42 -06:00
.tool-versions Add .tool-versions 2022-02-11 15:13:35 -06:00
mix.exs Initial draft 2022-02-11 14:09:56 -06:00
mix.lock Initial draft 2022-02-11 14:09:56 -06:00
ranch-talk.livemd Save 2022-02-15 10:06:37 -06:00
readme.md Add links 2022-02-15 10:09:34 -06:00

ranch-talk

🖥️ Upstream🐙 GitHub Mirror

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:

asdf install
mix escript.install github livebook-dev/livebook
git clone https://git.lyte.dev/lytedev/ranch-talk.git
cd ranch-talk
mix do deps.get, compile
env LIVEBOOK_PORT=5588 LIVEBOOK_IFRAME_PORT=5589 \
  livebook server --default-runtime mix \
  "$(pwd)/ranch-talk.livemd"

Enjoy!