An example chat server in elixir