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

Road to masterless multi-node distributed system in Elixir

udit
December 12, 2018

Road to masterless multi-node distributed system in Elixir

udit

December 12, 2018
Tweet

More Decks by udit

Other Decks in Technology

Transcript

  1. PLATFORM TO DISCOVER AND BUY THE BEST EXPERIENCES IN EVENTS,

    TRAVEL AND FOOD IN CITIES ACROSS INDIA
  2. A PLATFORM THAT ENABLES INTERACTIONS ON A LIVE VIDEO STREAM

    interaction by Aman from the Noun Project
  3. SENDING MESSAGE TO A PID OVER THE NETWORK COPIES THE

    MESSAGE OVER THE NETWORK Problem
  4. MQTT Publisher/Subscriber Messaging Protocol Built on top of TCP/IP Lightweight

    and Bandwidth Efficient Quality of Service Data Agnostic Message Queueing Telemetry Transport
  5. libcluster https://github.com/bitwalker/libcluster Form clusters of Erlang nodes Static or Dynamic

    Node Membership Custom Strategy to Deal with Nodes Joining/Leaving Notification when Nodes Join/Leave
  6. ETS Immortal https://github.com/danielberkompas/immortal Keep ETS alive using a heir process

    Keep ETS alive when owner dies Give ownership back to owner after it reboots
  7. NODE A NODE B MASTER MA WA WB MB WA

    WA WA WB WB WB MB WB MA WB WB WB WA WA WA WA AND WORKER REPLICA
  8. M W W W W GM M W W W

    W GM M W W W W GM NODE A NODE C NODE B
  9. Books Litte Elixir and OTP https://www.manning.com/books/the-little-elixir-and-otp-guidebook Learn you some Erlang

    http://learnyousomeerlang.com Designing for Scalability with Erlang/OTP http://shop.oreilly.com/product/0636920024149.do