alphanumeric

alphanumeric

Is Elixir able to power a social network messaging system with the same user volume as FB, Telegram or Whatsapp?

Showing Posts 11 to 20

alphanumeric

alphanumeric OP

Hi John - Can you clarify which you think would be better to use when you say “you should probably pick elixir by default” and “it might make sense to pick Erlang by default”. Don’t worry about hurting feelings. I am interested in the raw truth of which would be best in this use case.

kokolegorille

kokolegorille

It’s the same, but not with the same abstraction, and not the same syntax, but with the same BEAM and bytecode.

dimitarvp

dimitarvp

For apps and internal / closed-source libraries.

For open-source libraries – if you want all BEAM languages (Erlang, Elixir, LFE, Alpaca etc.) to have access to it.

alphanumeric

alphanumeric OP

This question is for a project that is not open source.

cmkarlsson

cmkarlsson

Messaging services is in the BEAMs sweetspot and I am pretty sure it would do well compared to any other language.

Whatsapp is famously known for running a global service with relatively few engineers and servers. They claim erlang is a big part of their success. In terms of erlang vs elixir I don’t see any difference in performance at this level.

toronja

toronja

I’m from Ecuador. In 2010-2011, in about three months, everyone got the urge to acquire an smartphone, mostly because everyone else was using Whatsapp. After getting to know Elixir, many years later, I finally understood it wasn’t because having Whatsapp meant “free messages” or because you’d get a touch screen; this sudden phenomena happened simply because Whatsapp never broke. You could lose your connection, but you’d get your messages back; a single conversation could misfire, but “the system” was always on; it didn’t matter if you were 4000 mts high or in a little village in the jungle: you could rely on it. You could rely on it more than in SMSs. This same thing happened worldwide. There were obviously brilliant people involved, but I do believe a lot of Whatsapp’s success is due to Erlang.

(I assume both references pop up frequently, but they’re quite interesting anyway)

Why WhatsApp Only Needs 50 Engineers for Its 900M Users

Erlang Factory 2014 - That’s ‘Billion’ with a ‘B’: Scaling to the Next Level at WhatsApp
https://www.youtube.com/watch?v=c12cYAUTXXs

fb is a different thing and I personally think we shouldn’t try to repeat in any language :slight_smile:

volanar

volanar

wanton7

wanton7

As for this

you should probably pick elixir by default

I don’t program Elixir professionally but I would choose Elixir just because of these

  • Elixir has powerful macro system that Erlang doesn’t have and it can really make a difference.
  • It’s easy to call Erlang libraries from Elixir but not as easy other way around. (There might be some new developments in this area that I don’t know of)
  • Elixir is more popular than Erlang so it’s easier to find solutions when problems arise.
  • This is bit personal but Erlang is bit off putting because it looks so different from most other programming language that are popular now. For me it was just so much easier to learn Elixir because it is so much more readable. I think this will help a lot when hiring new people.
  • Bit personal as well but I really like that Elixir has variable rebinding.
kokolegorille

kokolegorille

Erlang has macro system too, but different.

The |> pipe operator is also a nice addition from Elixir :slight_smile:

John-Goff

John-Goff

As I said in my last post, for a commercial project elixir makes the most sense as you can use the widest variety of libraries. For an open source project Erlang makes the most sense as you can be used by the widest variety of users.

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
AstonJ
Since we have deprecated our Erlang sections (as we have dedicated Erlang Forums now) let’s add this thread for those who’d like to post ...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews