A guide on how to use Ranch with Elixir
github.com
github.com
Also related, I really like the `active` (GenServer example in this post) socket approach because then you're just writing a TCP server that acts like any erlang message provider. Of course there's some difficulties related to that but it makes the code very straightforward to understand and manage.
Now that I'm thinking about reading erlang code, i just realized that erlang is a remarkabky easy language to read because of common system design principles governed by the otp standard. And what a treat that is, since the code i write id prefer to be optimized for the read-path. After all, code is written once and read many.
Thank you