Live data from Hacker News

Which companies are using Erlang, and why?

erlang-solutions.com

71–80 of 204 posts

Re: Which companies are using Erlang, and why?

#71
post #17

Although not in Erlang, Discord uses Elixir which runs on the BEAM VM to much success as well for our real time distributed system as well as VOIP signaling components. Looking back years later - it’s safe to say we wouldn’t have chosen anything else.

They link to a form at the bottom of the article where you can submit your own story, if you'd like to contribute: https://docs.google.com/forms/d/e/1FAIpQLScZnppXbZLz-vVfS8Mr...

Re: Which companies are using Erlang, and why?

#72
post #2

At least some of those examples are highly misleading: > There is no better example of Erlang’s reliability than the English National Health Service (NHS). [...] Using Riak (written in Erlang), the NHS has managed 99.999% availability for over five years. From what I could find out, NHS's Spine2 is mostly Python, with "a bit" of Erlang and Javascript. They do use Riak, but they also use Redis, RabbitMQ, Python/Tornad…

> the NHS has managed 99.999% availability Really? I am not sure I trust this claim.

The lead engineer/designer on the project makes this claim in these slides. I don't know whether this gives the claim more veracity in your eyes, but it's there.

[1]: http://martinsumner.github.io/presentations/spine2_erlang#/2...

Re: Which companies are using Erlang, and why?

#73
post #2

At least some of those examples are highly misleading: > There is no better example of Erlang’s reliability than the English National Health Service (NHS). [...] Using Riak (written in Erlang), the NHS has managed 99.999% availability for over five years. From what I could find out, NHS's Spine2 is mostly Python, with "a bit" of Erlang and Javascript. They do use Riak, but they also use Redis, RabbitMQ, Python/Tornad…

> the NHS has managed 99.999% availability Really? I am not sure I trust this claim.

The claim relates specifically to the spine 2 project, and is as measured over the 5 years since it went live. There are a lot of systems which depend on Spine 2 for their own availability, it is not the sort of thing that can go down at any time without a lot of people noticing.

I'm biased in that I've been heavily involved in the project, but I will stand by the five years of five nines availability claim.

Re: Which companies are using Erlang, and why?

#75

Earlier quoted context omitted.

why so many negative votes? Isn't C++ a far more battle-tested language than Erlang? Hasn't C++ a far bigger community than Erlang? To all whose concern is Memory Management, learn about C++11 (and newer standards): smart pointers and heavy use of RAII pattern work shamefully good

I think it is because with Erlang you get Beam and it is the real treasure of the Erlang ecosystem. It not only manifest the philosophy of Erlang well but, more specifically, provides a battle tested run-time for concurrent applications that you cannot get with C++ as you have to (re-)write that concurrent run-time each time.

Exactly. I worked at a few smaller but established FinTech companies delivery Trading Systems to banks, hedge funds, etc that had built their own unique systems written in C++ for concurrent applications. These systems were battle tested but they were not open-sourced and anyway they could not easily be re-purposed.

Re: Which companies are using Erlang, and why?

#77
post #26

Earlier quoted context omitted.

> It has similar aura than Lisp had before that with Erlang you can do stuff beyond "normal" languages. Like what ?

I think Whatsapp served "at peak" like 450 million users with only 32 engineers.

Whatsapp also had multiple patches to Erlang VM, backported FreeBSD drivers and code etc. etc.

Do not assume you'll be able to build your own Whatsapp just because of Erlang.

Re: Which companies are using Erlang, and why?

#78
post #6

WhatsApp used to use Erlang, not anymore. Facebook rewrote it completely in C++. https://www.quora.com/When-did-Facebook-switch-away-from-usi...

That system was the backend of the functionality currently known as Facebook Messenger, not WhatsApp. One might note, snidely [1], that three-four years after freezing development of an Erlang-based messaging system, starving maintenance work on that system of engineering effort, devoting massive engineering resources to a from-scratch C++ rewrite, and in the meantime blaming the language for relatively minor system…

> after freezing development of an Erlang-based messaging system...

> Facebook plowed $19B into the acquisition of an Erlang-based messaging system.

They didn't care what it was written in. They would've spent it on Whatsapp even it was written in PHP (like Slack). They paid for users and market penetration.

Re: Which companies are using Erlang, and why?

#79
post #2

At least some of those examples are highly misleading: > There is no better example of Erlang’s reliability than the English National Health Service (NHS). [...] Using Riak (written in Erlang), the NHS has managed 99.999% availability for over five years. From what I could find out, NHS's Spine2 is mostly Python, with "a bit" of Erlang and Javascript. They do use Riak, but they also use Redis, RabbitMQ, Python/Tornad…

There are two areas where Erlang really works well if you know what you're doing:

- telecoms, as it was specifically designed for telecoms.

- "glue" in networked applications: to orchestrate, pass messages around and the like. See GitHub [1] or CoD [2] etc.

In a sense, chats are a mix of both. Erlang is rarely a good fit in pretty much anything else.

[1] https://www.infoq.com/interviews/erlang-and-github/

[2] https://www.erlang-factory.com/upload/presentations/395/Erla...

Re: Which companies are using Erlang, and why?

#80

Having worked extensively with both Erlang and Elixir in the last 7 years, the main advantage for me has always been the smaller code base that those projects tend to produce when compared to other languages. Especially for projects that have some long-running components to them the Erlang built-in features allow writing really short yet fault resistant systems. The Supervisor system, the per process garbage collecti…

Interesting. Any input on erlang vs elixir debate? Which so you prefer as your primary tool personally?
Post reply on HN