Copy this bookmark:



bookmark detail

The WhatsApp Architecture Facebook Bought For $19 Billion
WhatsApp server is almost completely implemented in Erlang:

* Server systems that do the backend message routing are done in Erlang.

* Great achievement is that the number of active users is managed with a really small server footprint. Team consensus is that it is largely because of Erlang.

* Interesting to note Facebook Chat was written in Erlang in 2009, but they went away from it because it was hard to find qualified programmers.

WhatsApp server has started from ejabberd:

* Ejabberd is a famous open source Jabber server written in Erlang.

* Originally chosen because its open, had great reviews by developers, ease of start and the promise of Erlang’s long term suitability for large communication system.

* The next few years were spent re-writing and modifying quite a few parts of ejabberd, including switching from XMPP to internally developed protocol, restructuring the code base and redesigning some core components, and making lots of important modifications to Erlang VM to optimize server performance.
chat  erlang 
july 2018 by talles
view in context