Ask HN: Good examples of fault-tolerant Erlang code?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Riak

    Riak is a decentralized datastore from Basho Technologies.

  • Step zero is definitely the OTP Design Principles doc (part of the OTP distribution):

    https://www.erlang.org/doc/design_principles/users_guide

    There are some good texts that have more examples:

    Erlang & OTP in Action - https://www.manning.com/books/erlang-and-otp-in-action

    Designing for Scalability with Erlang/OTP - https://www.oreilly.com/library/view/designing-for-scalabili...

    One big example of distributed Erlang is Riak:

    https://github.com/basho/riak

  • ra

    A Raft implementation for Erlang and Elixir that strives to be efficient and make it easier to use multiple Raft clusters in a single system.

  • Just to add to this, there are some implementations of things like consensus algorithms in Erlang such as Ra: https://github.com/rabbitmq/ra

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • riak_core

    Distributed systems infrastructure used by Riak.

  • Making cluster fault tolerant is an art on its own in Erlang ;)

    Riak Core is extremely cool, but Riak is dead by now. It was a child of the times when NoSQL was cool. Still, basho code is interesting to read. (https://github.com/basho/riak_core)

    Self-ads: we've tried to remove Mnesia from our project, HN post incoming, once the library is prettified and tested hard (https://github.com/esl/cets).

  • cets

    A library to synchronise records from the ETS tables between nodes

  • Making cluster fault tolerant is an art on its own in Erlang ;)

    Riak Core is extremely cool, but Riak is dead by now. It was a child of the times when NoSQL was cool. Still, basho code is interesting to read. (https://github.com/basho/riak_core)

    Self-ads: we've tried to remove Mnesia from our project, HN post incoming, once the library is prettified and tested hard (https://github.com/esl/cets).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts