Start the application with
App.accept(9000)
Then go into another shell session and type in
telnet localhost 9000
Do it again for another window.
Start chatting and see results. It's hideous! But it scales well with the only bottleneck being the genserver's speed of inserting/fetching the state.
If available in Hex, the package can be installed
by adding app
to your list of dependencies in mix.exs
:
def deps do
[
{:app, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/app.