SlideShare a Scribd company logo
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

More Related Content

What's hot

Mobile application architecture
Mobile application architectureMobile application architecture
Mobile application architecture
Christos Matskas
 
Android Mp3 Player
Android Mp3 PlayerAndroid Mp3 Player
Android Mp3 Player
Chirag Aggarwal
 
Mobile Operating System
Mobile Operating SystemMobile Operating System
Mobile Operating System
Mreetyunjaya Daas
 
whatsapp (sajid)
whatsapp (sajid)whatsapp (sajid)
whatsapp (sajid)
Sajid Ansari
 
Whatsapp project work
Whatsapp project workWhatsapp project work
Whatsapp project work
Virginia Sgargi
 
News portal
News portalNews portal
News portal
Arman Ahmed
 
Firebase
Firebase Firebase
Chatbot Abstract
Chatbot AbstractChatbot Abstract
Chatbot Abstract
AntaraBhattacharya12
 
Firebase Cloud Messaging
Firebase Cloud MessagingFirebase Cloud Messaging
Firebase Cloud Messaging
Mohd Shamweel
 
Telegram app
Telegram appTelegram app
Telegram app
anandshukla99
 
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
 
ppt project pk.pptx
ppt project pk.pptxppt project pk.pptx
ppt project pk.pptx
MukeshKumar605825
 
What is XMPP Protocol
What is XMPP ProtocolWhat is XMPP Protocol
What is XMPP Protocol
Hamidreza Soleimani
 
Watsup ppt
Watsup pptWatsup ppt
Watsup ppt
SRIRAKSHA K
 
22598435 project-on-banking-system-in-mis-pdf
22598435 project-on-banking-system-in-mis-pdf22598435 project-on-banking-system-in-mis-pdf
22598435 project-on-banking-system-in-mis-pdf
Deepak Malusare
 
Chat Application [Full Documentation]
Chat Application [Full Documentation]Chat Application [Full Documentation]
Chat Application [Full Documentation]
Rajon
 
Mobile architecture overview
Mobile architecture overviewMobile architecture overview
Mobile architecture overview
David Scruggs
 
Chatbot Artificial Intelligence
Chatbot Artificial IntelligenceChatbot Artificial Intelligence
Chatbot Artificial Intelligence
Md. Mahedi Mahfuj
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
zeelpatel0504
 
Google Maps in Android
Google Maps in AndroidGoogle Maps in Android
Google Maps in Android
Mobile 2.0 Europe
 

What's hot (20)

Mobile application architecture
Mobile application architectureMobile application architecture
Mobile application architecture
 
Android Mp3 Player
Android Mp3 PlayerAndroid Mp3 Player
Android Mp3 Player
 
Mobile Operating System
Mobile Operating SystemMobile Operating System
Mobile Operating System
 
whatsapp (sajid)
whatsapp (sajid)whatsapp (sajid)
whatsapp (sajid)
 
Whatsapp project work
Whatsapp project workWhatsapp project work
Whatsapp project work
 
News portal
News portalNews portal
News portal
 
Firebase
Firebase Firebase
Firebase
 
Chatbot Abstract
Chatbot AbstractChatbot Abstract
Chatbot Abstract
 
Firebase Cloud Messaging
Firebase Cloud MessagingFirebase Cloud Messaging
Firebase Cloud Messaging
 
Telegram app
Telegram appTelegram app
Telegram app
 
A project report on chat application
A project report on chat applicationA project report on chat application
A project report on chat application
 
ppt project pk.pptx
ppt project pk.pptxppt project pk.pptx
ppt project pk.pptx
 
What is XMPP Protocol
What is XMPP ProtocolWhat is XMPP Protocol
What is XMPP Protocol
 
Watsup ppt
Watsup pptWatsup ppt
Watsup ppt
 
22598435 project-on-banking-system-in-mis-pdf
22598435 project-on-banking-system-in-mis-pdf22598435 project-on-banking-system-in-mis-pdf
22598435 project-on-banking-system-in-mis-pdf
 
Chat Application [Full Documentation]
Chat Application [Full Documentation]Chat Application [Full Documentation]
Chat Application [Full Documentation]
 
Mobile architecture overview
Mobile architecture overviewMobile architecture overview
Mobile architecture overview
 
Chatbot Artificial Intelligence
Chatbot Artificial IntelligenceChatbot Artificial Intelligence
Chatbot Artificial Intelligence
 
Introduction to android
Introduction to androidIntroduction to android
Introduction to android
 
Google Maps in Android
Google Maps in AndroidGoogle Maps in Android
Google Maps in Android
 

Viewers also liked

Whatsapp's Architecture
Whatsapp's ArchitectureWhatsapp's Architecture
Whatsapp's Architecture
Udaya Kiran
 
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Isuru Perera
 
Realtime communication in mobile
Realtime communication in mobileRealtime communication in mobile
Realtime communication in mobile
girish_fingent
 
Class Presentation on WhatsApp
Class Presentation on WhatsAppClass Presentation on WhatsApp
Class Presentation on WhatsApp
Shadman Chowdhury
 
20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles
Intro C# Book
 
whatsapp ppt
whatsapp pptwhatsapp ppt
whatsapp ppt
Swati Luthra
 

Viewers also liked (6)

Whatsapp's Architecture
Whatsapp's ArchitectureWhatsapp's Architecture
Whatsapp's Architecture
 
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
Unified Modeling Language (UML), Object-Oriented Programming Concepts & Desig...
 
Realtime communication in mobile
Realtime communication in mobileRealtime communication in mobile
Realtime communication in mobile
 
Class Presentation on WhatsApp
Class Presentation on WhatsAppClass Presentation on WhatsApp
Class Presentation on WhatsApp
 
20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles20. Object-Oriented Programming Fundamental Principles
20. Object-Oriented Programming Fundamental Principles
 
whatsapp ppt
whatsapp pptwhatsapp ppt
whatsapp ppt
 

Similar to WhatsApp architecture

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
Andy Higgins
 
Skype Homework
Skype HomeworkSkype Homework
Skype Homework
Jeff
 
Skype Homework
Skype HomeworkSkype Homework
Skype Homework
Jeff
 
Int d 4
Int d 4Int d 4
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
 
The Misty Report - Douglas Crockford
The Misty Report - Douglas CrockfordThe Misty Report - Douglas Crockford
The Misty Report - Douglas Crockford
Wey Wey Web
 
txtWeb
txtWebtxtWeb
Story of a Cerberus Bot
Story of a Cerberus BotStory of a Cerberus Bot
Story of a Cerberus Bot
dega1999
 
project_portfolio_20130912
project_portfolio_20130912project_portfolio_20130912
project_portfolio_20130912
Joey Dobias
 
Open Source Telegram Based Instant Messenger
Open Source Telegram Based Instant Messenger Open Source Telegram Based Instant Messenger
Open Source Telegram Based Instant Messenger
Ujjwal Vishwakarma
 
My Use of Digital Communication
My Use of Digital CommunicationMy Use of Digital Communication
My Use of Digital Communication
_kevininmoscow
 
Imedia
ImediaImedia
Hacking By Nirmal
Hacking By NirmalHacking By Nirmal
Hacking By Nirmal
NIRMAL RAJ
 
Software engineering( sms )
Software engineering( sms )Software engineering( sms )
Software engineering( sms )
Sunjid Hasan
 
WhatsApp Chat Hacking/Stealing POC
WhatsApp Chat Hacking/Stealing POCWhatsApp Chat Hacking/Stealing POC
WhatsApp Chat Hacking/Stealing POC
E Hacking
 
Voice based Email Application for Blinds
Voice based Email Application for BlindsVoice based Email Application for Blinds
Voice based Email Application for Blinds
faizulatif19
 
Ramprasad_Darlapudi
Ramprasad_DarlapudiRamprasad_Darlapudi
Ramprasad_Darlapudi
Ram Prasad DB
 
waleed-mohamed-CV
waleed-mohamed-CVwaleed-mohamed-CV
waleed-mohamed-CV
Walid Abosree
 
txt web overview
 txt web overview txt web overview
txt web overview
Narayan Srinivasan
 

Similar to 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
 

Recently uploaded

Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
Claudio Di Ciccio
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
David Brossard
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
FODUU
 

Recently uploaded (20)

Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
OpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - AuthorizationOpenID AuthZEN Interop Read Out - Authorization
OpenID AuthZEN Interop Read Out - Authorization
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
 

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.