Skysoft13

Skysoft13

Hi everyone, as you know whats app using erlang for chat server. If any one decide to develop new chat project like whats app, how they will handle erlang or elixir for server. I saw this website for chat server, but I confused that how we will handle both ejabberd and erlang or elixir altogether for chat server. Ejabberd is only enough for create mobile chat server? Any idea will be appreciated :slight_smile:

First 3 of 3 Posts Switch mode

pmangalakader

pmangalakader

@Skysoft13 ejabberd.im uses erlang and XMPP protocol as their base for the implementation. It’s very much important to understand what functionalities your chat server needs and XMPP itself has a set of standard features based on the Xmpp Standards Foundation. ejabberd, mongooseim, tigase, etc., are some of the examples of open source implementations of XMPP based chat servers.

You can also implement chat servers using websockets and some example implementations are phoenix channels, socket.io (nodejs), etc.,

Not every functionality or requirements will be satisifed by the servers mentioned above, so if you need to customise you have to use erlang. elixir or any programming language the XMPP or websocket servers are built on.

The below link provides the list of standard XMPP opensource servers which adheres to the XEP standards.

Beware, each implementations have numerous configurations, which are very hard for a beginner to cope with. So, it’s better to start slow with default configurations and then get going deeper.

Skysoft13

Skysoft13 OP

tnx so much for your great explanation, if I decide to use ejabberd, how I will use mobile app, ejabberd and chat servers with erlang or elixir. Any idea will be appreciated also :slight_smile:

pmangalakader

pmangalakader

There are numerous opensource or GPL licensed mobile applications for using with XMPP servers.

The link has a list of supported clients, you can take a look at them and decide to use them or you can even build one from scratch ( :sweat_smile: daring move)

https://docs.ejabberd.im/developer/xmpp-clients-bots/

Checkout, the client section for the below link:
https://esl.github.io/MongooseDocs/latest/user-guide/ABCs-of-MongooseIM/

— All posts loaded —

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 91898 914
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
byu
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project. My initial shotgu...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New

Other Trending Topics Top

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
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement