Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Distributed realtime chat with Elixir in 5 hours

Distributed realtime chat with Elixir in 5 hours

A pet project which showcases the power of the Elixir ecosystem by utilizing Mnesia, Phoenix channels and Distributed Erlang to build a distributed chat.
What makes this project unique is that it actually connects different Slack Teams by proxying messages between them. It also indexes all YouTube and SoundCloud links to provide a way to search all the songs linked inside these channels.

Bogdan Habic

January 31, 2019
Tweet

More Decks by Bogdan Habic

Other Decks in Programming

Transcript

  1. The Solution Failure of one node doesn’t affect the others

    Can withstand network splits and maintenance Extremely easy to reason about
  2. Store All writes are persistent All writes are replicated Handled

    the “Split Brain”problem No need for an external dependency
  3. Takeaways Has been running for 5 months :rpc.multicall/4 is great

    DB as part of your application gives a lot of power WebPack needs 15 hours worth of configuration