December 31, 2016

How Whatsapp works technically..?


Every one of us is familiar with a real time messaging application Whatsapp.
It's quit interesting to know actually how the Whatsapp works. 


Whatsapp make use of Ejabberd Extensible Messaging and Presence Protocol (XMPP) server.
This server facilitates instant message transfer between two or many users at any given second. ERLANG is the programming language used by Whatsapp. Ejabberd is an open source Jabber server written in Erlang language. It was preferred by the developers of Whatsapp as it was best suited for handling huge communication system with high sustainability. Erlang also helps by quickly adapting to instant updates and hot fixes. Whatever may be the improvisations or coding improvements, Erlang helps in quickly pushing the changes to live implementation without needing restarts.
 
Whatsapp manages more than 50 billion message transfers a day. The key to the smooth data processing lies with the message queue length. The length of the message queue of all the processes associated with a node is monitored. Incase of multimedia messages, contents (audio, video, pdf, locations, contacts or image) are uploaded into a HTTP server and are linked with the content and then sent to the receiver in the form of a thumbnail. Based on the user's needs the content can either be downloaded or discarded.
XMPP is being used by Whatsapp. To ensure network security, Data security layer (DSL) is being used. This ensures private data transfer. As and when message is sent, it is queued on the server. The message waits in the queue until the recipient reconnects to receive the message. As and when a message is delivered the sender gets notified by a double check mark near the message. After the delivery the messages are instantly deleted from the server memory.
For the database management Mnesia DB comes into play. Mnesia is a multiuser distributed DBMS which happens to be the default database of ERLANG. Thus by using Mnesia, the app is able to achieve fast request responses, thereby improving the overall efficiency. Free BSD is the operating system upon which Whatsapp is laid upon.

-Mr. Gurukiran Bhat
Department of CS

Department of Computer Science

Vivekananda college, Puttur D.K

Thank you for visiting us. Please use our contact form to get in touch with us. Your suggestions are welcome. If you have anything to say please proceed by commenting below or send a message using our contact form.

14 comments:

  1. Thanks for the write up! Also, just a heads up, your RSS feeds aren’t working. Could you take a look at that? Likes

    ReplyDelete
  2. I really appreciate this post. I have been looking everywhere for this! Thank goodness I found it on Bing. You’ve made my day! Thank you again! 메이저놀이터

    ReplyDelete
  3. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a little bit, but other than that, this is fantastic blog. An excellent read. I will definitely be back. 메이저놀이터

    ReplyDelete
  4. I conceive you have noted some very interesting details , appreciate it for the post. 청주출장마사지

    ReplyDelete
  5. I’m impressed, I need to say. Really rarely do I encounter a weblog that’s each educative and entertaining, and let me tell you, you have got hit the nail on the head. Your concept is outstanding; the issue is something that not enough persons are talking intelligently about. I am very completely happy that I stumbled throughout this in my search for one thing regarding this. 먹튀폴리스

    ReplyDelete
  6. when it comes to beautiful smile and beautiful teeth, Rachel McAdams have it all` 토토사이트

    ReplyDelete
  7. I real glad to find this website on bing, just what I was looking for : D too saved to favorites . Kevin David

    ReplyDelete
  8. This is also a very good post which I really enjoyed reading. It is not every day that I have the possibility to see something like this.. https://etcher.download/

    ReplyDelete
  9. Hell, you could sit in your underwear throughout the day on the PC in the event that you needed to. hotlink

    ReplyDelete
  10. Just desire tto say your article is as surprising.
    The clarity in your post is simply excellent and i could
    assume you’re an expert on this subject.
    Well with your permission allow me to grab your RSS feed to keep updated with forthcoming
    post. Thanks a million and please carry on the enjoyable work.
    파워볼

    ReplyDelete
  11. Your articles are inventive. I am looking forward to reading the plethora of articles that you have linked here. Thumbs up! applicazioni per spiare whatsapp

    ReplyDelete
  12. You can answer to somebody's update too. There exists an answer key, so you can address any sort of photograph, video, or maybe GIF. Presently as you tap answer, your message will be presented a WhatsApp thumbnail of the Status overhaul. It's not yet decided whether that message will be erased following 24 hours also. SMM Panel

    ReplyDelete
  13. good articl pleas vist my web site http://hmdservices.ma/

    ReplyDelete
  14. Very good post. Really thank you! Will read on...
    free instagram downloader

    ReplyDelete