sas99
I try to create chat services for mobile chat app like whats app for about 1 Billlion users, so I do know which language best for me, golang or elixir, any idea?
Trending in Discussions
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...
New
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
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
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
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
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
:warning: Security advisory: Decimal DoS vulnerability
A vulnerability has been published for decimal where very large exponents can cau...
New
Other Trending Topics
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
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
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
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Aludel - LLM Evaluation Workbench
Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
NobbZ
Is this a crosspost of https://forum.golangbridge.org/t/should-i-use-go-or-elixir-for-chat-app-back-end/28500?u=nobbz, or just identical by accident?
JeyHey
WhatsApp’s backend is implemented in Erlang and the WA lead developer attributed the fact that they could serve 500mio users with a team of only 30 people to their technology stack. So there is no doubt that Erlang and therefor also Elixir is a great choice for a chat backend.
The more important question is what protocol to use, e.g. MQTT or XMPP. VerneMQ and MongooseIM are great open source servers for these protocols.
sas99
tnx so much for ur answer, which protocol is best for it?
t12a
There has been blog posts on Discord regarding Elixir as Backend. They’ve also extend some of their services with Go and Rust using NIFs but eventually favors Rust.
Check out their blog posts:
halturin
Pls, don’t mention “Why Discord is switching from Go to Rust” - comments there expose why. TLDR - its an absolutely inadequate attempt to use golang.
upd: seems they changed their blog platform. all comments disappeared. the main issue was taking a super old golang version (i don’t remember all points mentioned in that comments, but there were a lot of them)
JeyHey
Difficult to say. XMPP is a complex protocol with a lot of features. I have used it for a hobby project and it takes time to handle it. XMPP is also the protocol that WA kind of used as a base for their custom protocol. I heard the Facebook messenger uses MQTT. MQTT is more light weight. I have no experience with but I would give it a try if I needed messaging in a new project.
sas99
which one is best, XMPP or MQTT. Which is more efficient in projects?
Skysoft13
you can use both, they are not related to each other, and they can work independently and simultaneously, and XMPP is messaging protocol and MQTT is pub sub protocol.
al2o3cr
“Best” depends on what the project needs. As @Skysoft13 pointed out, these two technologies aren’t even used for the same things. Imagine asking a similar question about things in the physical world: “which vehicle is best, trains or cars. Which is more efficient in transportation?”
AstonJ
Why not use the same as them?
WhatsApp is arguably the busiest, most stable chat app ever created - and they use Erlang. Elixir runs on the Erlang VM