SlideShare ist ein Scribd-Unternehmen logo
1 von 11
WhatsApp Architecture
-BY MAHESH BITLA
Why WhatsApp is Popular
2
A
B
C
D
Can send
Multimedia
Can send Location
Can send
Documents
Can send Text
messages
E
F
G
H
It is a Ad free application with Optimum performance.
Can Receive
Multimedia
Can Receive Location
Can Receive
Documents
It is a Ad free application with Optimum performance.
Can Receive Text
messages
Optimum
performance
A
WhatsApp Server Platforms
Backend
 Erlang- programming language
 Jabber Open Source
 FreeBSD- Operating System
 Yaws – Web Server
 PHP
 BEAM - VM to run ErLang
 Custom XMPP
Frontend
 Seven client platforms: iPhone, Android,
Blackberry, Nokia Symbian S60, Nokia
S40, Windows Phone,
 SQLite
How it actually works- Briefly
In whatsApp every user or contact is treated as ACTOR.
User the actor
Aardvark The actor
Aarivinci The actor
Aaronitch The actor
Hi Hi
Tom’s mobile Brad’s mobile
Brad Tom
Tom
The
Actor
Brad
The
Actor
If offline- Stores
the message in
Server
If online –
Sends to Brad
The actor principle in WhatsApp
• User tom wants to send a message to User Brad in through Whatsapp
• First user tom sends a message to tom The Actor and saves the message In user
Tom’s Inbox naming Brad.
• tom The Actor tries to send the message to Brad The Actor and saves the message
in server.
• Brad the Actor tries to send the message to user Brad, Until the user Brad receives
the message ,Brad the actor frequently send the message.
• As soon User Brad comes online, message will Deliver to Brad’s Inbox named Tom.
SqLite
SqLite
Mnesia
Backend
DB
if
online offline
Stores the
message in the
database until he
comes online
Creates the actor
object here for
user1
Creates the actor
object here for
user2
WhatsApp New feature- Encryption
Message Encryption
with a key as tag
Message Decryption By
matching with sender key
Sending through server
Key is the Message Authentication code for that user
What things made Fb to buy WhatsApp
 Up to 2009 Facebook chat was written in ErLang, then moved to another
programming language. WhatsApp written in ErLang with optimum performance
that FB.
 Out of 100 users of FB and whatsapp, 75% are daily active on whatsapp but only
52% are active on FB.
 It can be useful for Facebook INTERNET.ORG initiative.
 Whatsapp framework can be used to increase the Facebook efficiency.
Any Questions??????
WhatsApp architecture

Weitere ähnliche Inhalte

Was ist angesagt?

A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
Kumar Gaurav
 
Quiz app android ppt
Quiz app android pptQuiz app android ppt
Quiz app android ppt
Aditya Nag
 

Was ist angesagt? (20)

Final Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-SticaFinal Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-Stica
 
Online exam
Online examOnline exam
Online exam
 
Online Examination System in .NET & DB2
Online Examination System in .NET & DB2Online Examination System in .NET & DB2
Online Examination System in .NET & DB2
 
project
projectproject
project
 
Online Examination System
Online Examination SystemOnline Examination System
Online Examination System
 
Whatsapp-An innovative way of networking
Whatsapp-An innovative way of networkingWhatsapp-An innovative way of networking
Whatsapp-An innovative way of networking
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
 
Online Attendance System
Online Attendance SystemOnline Attendance System
Online Attendance System
 
Chat application
Chat applicationChat application
Chat application
 
Presentation on java project (bank management system)
Presentation on java project (bank management system)Presentation on java project (bank management system)
Presentation on java project (bank management system)
 
Book store php ppt
Book store php  pptBook store php  ppt
Book store php ppt
 
Client server chat application
Client server chat applicationClient server chat application
Client server chat application
 
online Examination System (project report)
online Examination System (project report)online Examination System (project report)
online Examination System (project report)
 
Online Examination System Presentation
Online Examination System PresentationOnline Examination System Presentation
Online Examination System Presentation
 
Quiz app android ppt
Quiz app android pptQuiz app android ppt
Quiz app android ppt
 
Chat Application - Requirements Analysis & Design
Chat Application - Requirements Analysis & DesignChat Application - Requirements Analysis & Design
Chat Application - Requirements Analysis & Design
 
Matrimonial Web Application Presentaion
Matrimonial Web Application PresentaionMatrimonial Web Application Presentaion
Matrimonial Web Application Presentaion
 
14.project online eamination system
14.project online eamination system14.project online eamination system
14.project online eamination system
 
project-ppt1.pdf
project-ppt1.pdfproject-ppt1.pdf
project-ppt1.pdf
 
Online attendance management system
Online attendance management systemOnline attendance management system
Online attendance management system
 

Ähnlich wie WhatsApp architecture

Skype Homework
Skype HomeworkSkype Homework
Skype Homework
Jeff
 
Onesocialweb Presentation at OTA10
Onesocialweb Presentation at OTA10Onesocialweb Presentation at OTA10
Onesocialweb Presentation at OTA10
dianacheng
 
software testing on whatsapp
software testing on whatsappsoftware testing on whatsapp
software testing on whatsapp
nil65
 
project_portfolio_20130912
project_portfolio_20130912project_portfolio_20130912
project_portfolio_20130912
Joey Dobias
 
My Use of Digital Communication
My Use of Digital CommunicationMy Use of Digital Communication
My Use of Digital Communication
_kevininmoscow
 
Hacking By Nirmal
Hacking By NirmalHacking By Nirmal
Hacking By Nirmal
NIRMAL RAJ
 

Ähnlich wie WhatsApp architecture (20)

Mwlug 2016 BP108 The state of Instant Messaging Connectivity
Mwlug 2016 BP108 The state of Instant Messaging ConnectivityMwlug 2016 BP108 The state of Instant Messaging Connectivity
Mwlug 2016 BP108 The state of Instant Messaging Connectivity
 
Skype Homework
Skype HomeworkSkype Homework
Skype Homework
 
Skype Homework
Skype HomeworkSkype Homework
Skype Homework
 
Int d 4
Int d 4Int d 4
Int d 4
 
Onesocialweb Presentation at OTA10
Onesocialweb Presentation at OTA10Onesocialweb Presentation at OTA10
Onesocialweb Presentation at OTA10
 
software testing on whatsapp
software testing on whatsappsoftware testing on whatsapp
software testing on whatsapp
 
The Misty Report - Douglas Crockford
The Misty Report - Douglas CrockfordThe Misty Report - Douglas Crockford
The Misty Report - Douglas Crockford
 
txtWeb
txtWebtxtWeb
txtWeb
 
Story of a Cerberus Bot
Story of a Cerberus BotStory of a Cerberus Bot
Story of a Cerberus Bot
 
project_portfolio_20130912
project_portfolio_20130912project_portfolio_20130912
project_portfolio_20130912
 
Open Source Telegram Based Instant Messenger
Open Source Telegram Based Instant Messenger Open Source Telegram Based Instant Messenger
Open Source Telegram Based Instant Messenger
 
My Use of Digital Communication
My Use of Digital CommunicationMy Use of Digital Communication
My Use of Digital Communication
 
Imedia
ImediaImedia
Imedia
 
Hacking By Nirmal
Hacking By NirmalHacking By Nirmal
Hacking By Nirmal
 
Software engineering( sms )
Software engineering( sms )Software engineering( sms )
Software engineering( sms )
 
WhatsApp Chat Hacking/Stealing POC
WhatsApp Chat Hacking/Stealing POCWhatsApp Chat Hacking/Stealing POC
WhatsApp Chat Hacking/Stealing POC
 
Voice based Email Application for Blinds
Voice based Email Application for BlindsVoice based Email Application for Blinds
Voice based Email Application for Blinds
 
Ramprasad_Darlapudi
Ramprasad_DarlapudiRamprasad_Darlapudi
Ramprasad_Darlapudi
 
waleed-mohamed-CV
waleed-mohamed-CVwaleed-mohamed-CV
waleed-mohamed-CV
 
txt web overview
 txt web overview txt web overview
txt web overview
 

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

WhatsApp architecture

  • 2. Why WhatsApp is Popular 2 A B C D Can send Multimedia Can send Location Can send Documents Can send Text messages E F G H It is a Ad free application with Optimum performance. Can Receive Multimedia Can Receive Location Can Receive Documents It is a Ad free application with Optimum performance. Can Receive Text messages Optimum performance A
  • 3. WhatsApp Server Platforms Backend  Erlang- programming language  Jabber Open Source  FreeBSD- Operating System  Yaws – Web Server  PHP  BEAM - VM to run ErLang  Custom XMPP Frontend  Seven client platforms: iPhone, Android, Blackberry, Nokia Symbian S60, Nokia S40, Windows Phone,  SQLite
  • 4. How it actually works- Briefly In whatsApp every user or contact is treated as ACTOR. User the actor Aardvark The actor Aarivinci The actor Aaronitch The actor
  • 5. Hi Hi Tom’s mobile Brad’s mobile Brad Tom Tom The Actor Brad The Actor If offline- Stores the message in Server If online – Sends to Brad
  • 6. The actor principle in WhatsApp • User tom wants to send a message to User Brad in through Whatsapp • First user tom sends a message to tom The Actor and saves the message In user Tom’s Inbox naming Brad. • tom The Actor tries to send the message to Brad The Actor and saves the message in server. • Brad the Actor tries to send the message to user Brad, Until the user Brad receives the message ,Brad the actor frequently send the message. • As soon User Brad comes online, message will Deliver to Brad’s Inbox named Tom.
  • 7. SqLite SqLite Mnesia Backend DB if online offline Stores the message in the database until he comes online Creates the actor object here for user1 Creates the actor object here for user2
  • 8. WhatsApp New feature- Encryption Message Encryption with a key as tag Message Decryption By matching with sender key Sending through server Key is the Message Authentication code for that user
  • 9. What things made Fb to buy WhatsApp  Up to 2009 Facebook chat was written in ErLang, then moved to another programming language. WhatsApp written in ErLang with optimum performance that FB.  Out of 100 users of FB and whatsapp, 75% are daily active on whatsapp but only 52% are active on FB.  It can be useful for Facebook INTERNET.ORG initiative.  Whatsapp framework can be used to increase the Facebook efficiency.