How does WhatsApp technology works?

How does WhatsApp technology works?

Whats App is Chat application. WhatsApp is a texting service between mobile phones as a replacement for the regular SMS text messages. Over millions users are active worldwide using the Whatsapp service. Whatsapp uses an internet connection between phones. The service is available for iPhone, Blackberry, Android and Nokia Symbian60-phones.

How does WhatsApp technology works?
The major difference between regular SMS text messages and Whatsapp text messages is that Whatsapp is free: You use the internet connection on your phone (wifi or part of you mobile data package depending on subscription or pre paid type).

We call them Instant Messaging.  This means the messaging between sender and receive should happen in real time, unlike email (offline).

So you need to first understand challenge here to understand how chat apps work.  If you store something on database, then you pass again to another user, it becomes offline (not in real time).  If you pass any message and it stores and also pass at same to other user, it becomes IM (Instant messaging). 

Now in development, there are different PROTOCOLS that help achieve things.

For Emails its: SMTP, POP3 etc.
For Chat its: XMPP (Extensible Messaging and Presence Protocol)

It is protocol based on another format named XML (like html, not exactly, but to give you idea).  Using XMPP protocol, XML as communication medium and setting up this on a server, that host it and helps pass all communication and also setup logic on this server (Basically coding).  So there are many server created with protocol XMPP like eJabber.

Interestingly, WhatsApp is related to "Yowsup" , a Python library.  Python is a programming language on which Quora, YouTube etc. are built! You can find this Yowsup library on tgalal/yowsup.

So now lets put together all above information.
A user A has internet and a client application (whats app) installed on say Android phone), A user B has internet and has same client application (Whatsapp) installed on his iPhone. (So basically cross platform).

A types message "Hi" to B.  The message is passed via Web Services to XMPP server, The XMPP server has list of all WhatsApp user, based on unique phone number, it will detect B and XMPP server will then send message "Hi" to B with web service.  B will recieve this message on iPhone.  In between there will coding done with business rules on server, database level and on client applications as well. 

Whatsapp is implemented at server end over the protocol XMPP. Exactly it is done on XMPP lite which is well established open source chat engine. 

XMPP (Extensible Messaging and Presence Protocol)
What is the Technology behind WhatsApp?
WhatsApp uses a customized version of the open standard Extensible Messaging and Presence Protocol (XMPP) upon installation. WhatsApp automatically compares all the phone numbers from the device's address book with its central database of WhatsApp users to automatically compares all the phone numbers from the devices address book with its central database of WhatsApp users to automatically add contacts to the users WhatsApp contact list.

XMPP

What is Extendible Messaging and Presence Protocol (XMPP) ?
The Extensible Messaging and Presence Protocol (XMPP) is an application profile of the Extensible Markup Language (XML) for streaming XML data in close to real time between any two or more network-aware entities. The address format for XMPP entities was originally developed in the Jabber Open Source Community in 1999. It functions between or among servers, and facilitates near-real-time operation. The Protocol may eventually allow internet users to send instant messages to anyone else on the Internet, regardless of differences in Operating systems and browsers. 

XMPP is sometimes called the Jabber protocol, but this is a technical misnomer. Jabber, an IM application similar to ICQ (I Seek You) and others, is based on XMPP, but there are many applications besides Jabber that are supported by XMPP. The IEEE XMPP working group, a consortium of engineers and programmers, is adapting XMPP for use as an Internet Engineering Task Force (IETF) technology. 

In addition, the Messaging and Presence Interoperability Consortium (MPIC) is considering XMPP as an important interoperability technology. Eventually, XMPP is expected to support IM applications with authentication, access control, a high measure of privacy, hop-by-hop encryption, end-to-end encryption, and compatibility with other protocols.


Database management
For the database management Mnesia DB comes into play. Mnesia is a multiuser distributed DBMS which happens to be the default DB of ERLANG. Thus by using Mnesia, the app is able to achieve quicker request responses, thereby improving the overall efficiency.

FreeBSD is the operating system upon which WhatsApp is laid upon. Improvising on the ERLANG based applications and optimizing FreeBSD, WhatsApp is able to achieve better throughput. For storing multimedia files, the app uses an exclusive web server YAWS.

COMMENTS

BLOGGER: 3
  1. You are a realy knowledgeable person. Great article thaka for sharing.
    Visit my website and give me some suggestion to move it up
    Http://ansnetwork.in

    ReplyDelete

Name

(Green Living),7,2019 web development trends,1,4Sleep,1,7 day programmable thermostat,1,adjustable beds,1,adobe pdf translator,1,adobe pdf translator online,1,amerisleep as3,1,Android,1,Android and Apple Online Data Safety,1,Apple,1,aviya,1,azza mattress,1,Bamboo Vs Cotton Bed Sheets,1,Bamboo vs. Cotton,1,be green,2,bedroom,1,beds for sale,1,Best Advice for Choosing The Best Sleep,1,Best juicer,1,best juicer 2019,4,best juicer 2020,4,BEST JUICERS BUYING GUIDE,1,best mattress,7,best mattress for sleep apnea,1,best mattresses for back pain,1,best memory foam mattress,2,best pdf translator,1,Best Sleep Mattress For Back Pain,1,best type of mattress for side sleepers,3,best websites 2019,1,Blogging,161,building green,2,buy sleep,2,casper mattress,1,cheap mattress,1,Choose a Best Sleep Mattress for Your Preferred Sleep Position,1,choose a mattress for back pain,1,choose mattress india,1,choose mattress usa,1,Computer,29,Computer Hardware Tips,2,Data Recovery,1,Design,41,digital thermostat,1,Dot Matrix Printers,1,double bed spring mattress price,2,dozebeds,1,Dye-Sublimation Printers,1,e-learning,4,eco friendly,1,eco friendly cooking,1,eco friendly electric stove,1,eco friendly kitchen appliances,1,eco friendly living room,1,eco friendly living tips,1,eco friendly paper,1,Eco Friendly Products That Really Make a Difference,1,eco friendly things in our house,1,Eco-Friendly,1,Eco-Friendly Tips for Saving Money,1,Education,120,File Recovery Software,1,Global Positioning system,1,global wifi rental,1,go green,2,go green images,1,good night's sleep meaning,1,GPRS Tracking,1,GPS technology,1,GPS Tracking,1,Green Kitchen,1,Green Living,8,green living show,1,green news,1,hand juicer,1,health,9,HEALTHY LIFE,35,Helix,1,home remedies for good sleep,2,honeywell thermostat,1,how to be a web designer from home,1,how to become a professional web designer,1,how to become a web designer from home,1,how to become web designer career,1,how to choose a mattress for back pain,1,how to choose a web designer,1,how to choose sleep mattress,1,how to get a good night sleep,2,how to make your home environmentally friendly,1,how to sleep better at night naturally,1,Ideas,188,inexpensive mattresses for sale,5,Inkjet Printers,1,Inkjet Technology,1,Internet,41,Internet Tips,161,Juice & Your Health,3,juice maker,1,juicer machine,1,Juicing versus Raw fruits and veggies,1,king mattress,1,king size mattress size,5,Know the History Facts About the Memory Foam Mattress,1,Laser Printers,2,leed certification canada,1,leed certification checklist,1,leed certification cost,1,leed certification exam,1,leed certification wiki,1,leed platinum buildings,1,life,41,loom & leaf,1,Make Money online,44,make your home green,1,mattress,1,mattress america reviews,1,mattress buying guide,1,mattress dealers,2,mattress for kids,1,mattress mattress,2,mattress selector tool,3,mattress size,3,mattress sizes,4,memory foam density guide,1,memory foam mattress,3,memory foam mattress buying guide,1,memory foam mattress information,1,memory foam mattress reviews,1,minimalist web design 2019,1,mobile malwares,1,Mobiles,70,Mother's Day 2018,1,Mother's Day Best Unique Gift Ideas 2018,1,Multi-Function Inkjet Printers,1,NASA Memory Foam Technology,1,naturally,1,navigation technology,1,nectar mattress reviews,3,needle mattress,1,new,75,new website trends 2019,1,nomad mattress,1,online pdf translator,1,Online Safety,1,orange juice,1,other,36,PDF Translator Online,1,pdf translator software,1,pocket wifi,1,Portable Inkjet Printers,1,portable wifi rental,1,POS (Point of Sale) Receipt Printer,1,Printer,1,Printers,1,programmable thermostat home depot,1,Project:LOVE NATURE,2,queen mattress,1,ransomware,1,revive mattress,1,revive mattress r2,1,RIGHT AND BEST JUICER,1,saatva,1,satellite system,1,Satnam Shri Waheguru Ji,12,SEO,38,Short Term Internet Hotspot Rental,1,should i buy a memory foam mattress,1,single mattress deals,4,skyroam,1,sleep at night fast,1,sleep mattress,4,sleep mattress near me,1,sleep mattress reviews,1,sleep mattress usa,1,Sleep Mattresses,7,sleep number bed,1,slow juicer masticating juicer,1,small juicer,1,smart thermostat,1,Smartphone Security,1,smartphones,1,Software,84,Solid Ink Printers,1,Spring Mattress,1,spring mattress king size,1,spring mattress pocket spring mattress india,1,spring mattress price,1,Supermarket vs Homemade Fresh Juices,3,sustainable living communities,1,Tattoo Removal,1,tep wireless,1,The Basics of Cryptocurrency,1,the matress,1,thermostat,1,thermostats,1,tips on how to sleep through the night,2,top web design trends 2019,1,translate large pdf,1,travel wifi,1,twin mattress,1,updates,151,us mattress,8,viola,1,viruses,1,Wahegur Ji,1,ways to go green,1,web design trends 2019,1,website trends for 2019,1,what is a green apartment,1,What’s New Online,67,which mattress is good spring or coir or foam,1,Why Choose to Go Eco-Friendly? (Green Living),1,wifi hotspot for international travel,1,winkbeds,1,zenhaven,1,
ltr
item
||ੴ||ਇੱਕ ਓਅੰਕਾਰ Satnam Shri Waheguru Ji A Web Blog about Product Review, Blogging Tips, Tech Reviews: How does WhatsApp technology works?
How does WhatsApp technology works?
How does WhatsApp technology works?
https://1.bp.blogspot.com/-DHQaQMqgpPk/WHXWKYD-6oI/AAAAAAAADDQ/VHAk1pw4qckB5nQtqYkFgAiA5_ZnnD7JQCLcB/s400/Whatsapp-web-app-white.jpg
https://1.bp.blogspot.com/-DHQaQMqgpPk/WHXWKYD-6oI/AAAAAAAADDQ/VHAk1pw4qckB5nQtqYkFgAiA5_ZnnD7JQCLcB/s72-c/Whatsapp-web-app-white.jpg
||ੴ||ਇੱਕ ਓਅੰਕਾਰ Satnam Shri Waheguru Ji A Web Blog about Product Review, Blogging Tips, Tech Reviews
https://www.undocopy.com/2017/01/how-does-whatsapp-technology-works.html
https://www.undocopy.com/
https://www.undocopy.com/
https://www.undocopy.com/2017/01/how-does-whatsapp-technology-works.html
true
4597144398420216702
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy