Professional Documents
Culture Documents
16 Answers
Originally Answered: How does WhatsApp Web work? What is the technology behind it?
Attention, this answer is mostly speculative based on my analysis on the web
itself.
I'm not related to WhatsApp in any way. So, if another answer from people who
directly related to WhatsApp exist, please upvote that answer instead. Otherwise, if
you just wanted to read my analysis, you can go on.
Introduction
I was waiting for WhatsApp to release its desktop-version for years. Today it was
released as web version and (right now) can only be accessed via Google Chrome
browser. The first question that will be raised is, why it took so long for the web
version to be released?
254 1 12
Originally Answered: What is the technology stack behind the web version of WhatsApp?
FreeBSD and Erlang - backend technology stack.
One important thing to note is, Whatsapp does not store your messages on their
server. (Had they done it, imagine how massive data centres they would have needed)
Messages
So, building the web client for whatsapp was the tricky part, given you cannot poll
messages off from servers directly.
When you receive a message, it gets delivered to your phone first. Every whatsapp
account has an unique id, which is sent securely to the url you get from the QR code
of the web client. Then, the web client polls your mobile for messages time to time.
Thus, to use the web client your smartphone has to be connected to the internet.
For this limitation, Whatsapp advises users to use a wifi connection when using the
web client.
43K views · View 48 upvotes1 · View shares · Answer requested by Sourav Mitra
4
Search Quora Add question
48 1
Add a comment... Add Comment
50 2
What is an ETF? How can I buy an ETF in India? What ETFs are there for
Indian investors?
ICICI Prudential Mutual Fund, We manage assets for over 7.4M investors as on April
2021
Updated September 9
ETF or Exchange Traded Funds are passively managed funds that generally track an
index, a basket of securities, commodities or debt securities. As the name suggests,
ETFs are traded on the exchange like a single stock. An ETF is(Continue
a basket of
reading
stocksinthat…
feed)
How does messaging work in WhatsApp? Is this the right approach for
communication between client and server? Is the client always connected to the…
How does the new WhatsApp web client work? It's required to have the phone
connected to the internet while you use the web client. What technology is being us…
Harish M
Answered October 11, 2012
One of their lead engineers gave an extensive talk at Erlang Factory [1] on how they
managed to scale up to more than a million connections on a single box. It involved
lots of tuning at the FreeBSD level, custom patches to BEAM, and making
improvements to their Erlang app code. It's an interesting talk (video/slides are
available on the website).
[1] - http://www.erlang-factory.com/conference/SFBay2012/speakers/RickReed
37.7K views · View 22 upvotes
22 1
Erlang is a functional language, it was originally designed by Ericsson in the mid 80s to
be used for telephone switches. The primary design philosophy behind Erlang was
high concurrency and fault tolerance. That systems can, and will fail, and the correct
approach is to prevent interruption
1 as far as possible, while interfering
4 with the other
Search Quora Add question
subsystems as little as possible. I remember reading that the team behind whatsapp
wanted it to be "like a dialtone". Always on, and reliable.
In essence, they used tech that makes their app distributed, real time and always up
and running. Clearly, they've accomplished that goal.
7.4K views · View 8 upvotes
Add a comment... Add Comment
Add a comment... Add Comment
1. OS : freeBSD
2. Server : yaws
4. Language : erlang
7. Database : mnesia
8. Encryption : RC4
Add a comment... Add Comment
5 1
What app basically uses xmpp protocol for its blazing fast messaging feature and uses
jabber(server written in Erlang) to handle it's clients and message flow.
Its seems that they have basically created an API that they use for their app and web
based service
So it doesn't matter whether its a web version or the app version.. Whenever changes
are made from either of the method , it updates the database and what's app notifies
it through it notification mechanism. No conflict occurs
Add a comment... Add Comment
Add a comment... Add Comment
Originally Answered: What is the technology behind the WhatsApp web version? How is the
application synced across devices and the WhatsApp Web?
You can read about BOSH feature of an XMPP server.
Web can be made in any web based language like PHP or any other.
991 views
Add a comment... Add Comment
The WhatsApp web client uses your phone to connect and send messages – in a
sense, everything is mirrored. Your web session stays active as long as your phone has
a connection to the internet. This also means that your phone's data connection is
constantly being used
344 views
Add a comment... Add Comment
Messages
The WhatsApp web and desktop apps are an extension of your smartphone. They
mirror all the conversations and messages you have on the WhatsApp app on your
phone and allow you to see them all and reply to them all on your PC or Mac using
your computer's keyboard instead of the keyboard on your smartphone.
4 Steps
1 To Know For How To Login On WhatsApp
4 In Your PC
Search Quora Add question
how to log into WhatsApp web and what is the purpose of WhatsApp web
https://www.tstmedia.xyz/2021/07/4-steps-to-know-for-how-to-login-…
66 views
Add a comment... Add Comment
Anonymous
Answered February 9, 2015
Originally Answered: What technology does the WhatsApp web version use?
You can go through the Questioned answered already in Quora !! Related Questions
Please see Below Links for the same : How does messaging work in WhatsApp? Is
this the right approach for communication…
What is the technology stack behind the web version of WhatsApp?
How does WhatsApp web work?
How does WhatsApp Web work? What is the technology behind it?
How does the new WhatsApp web client work?
I hope it satisfies your question !
It's required to have the phone connected to…
3.9K views
What is WhatsApp's server architecture?
Whatsapp has been made using Erlang, a programming language which has its origin
back in the 80's. Erlang is a functional language with eager evaluation, single
assessment and dynamic typing which makes it best for apps such as whatsapp and
many more.
4.2K views
Add a comment... Add Comment
Anonymous
Answered January 26, 2015
Originally Answered: What is the technology stack behind the web version of WhatsApp?
In step:
2. Whatsapp sends userdata of the user (which scanned the code) to the whatsapp
webpage from which this unique code belongs.
2.3K views
Add a comment... Add Comment
Messages
Related Questions
How does messaging work in WhatsApp? Is this the right approach for
communication between client and server? Is the client always connected to the…
How does the new WhatsApp web client work? It's required to have the phone
connected to the internet while you use the web client. What technology is being us…
What is WhatsApp's server
1 architecture? 4
Search Quora Add question
What technology is used in WhatsApp?
How does WhatsApp web work? What is the technology behind it? How does
scanning a code on my phone help in seeing my WhatsApp account on desktop?
What web framework is the new WhatsApp web interface built on?
What are the pros and cons of WebSockets versus MQTT as real-time web
infrastructure for the Internet of Things?
Messages