SlideShare a Scribd company logo
Performance Analysis of Internet of Things Protocols
Based Fog/Cloud over High Traffic
Istabraq M. Al-Joboury and Emad H. Al-Hemiary
Al-Nahrain University
College of Information Engineering
Department of Networks Engineering
Baghdad, Iraq
The Internet of Things (IoT) is the network of physical objects—
devices, vehicles, buildings and other items embedded with
electronics, software, sensors, and network connectivity— that enables
these objects to collect and exchange data.
What is IoT?
Thousands of
sensors by 2020
End user (doctors,
nurses, patients and
patient`s family)
High Traffic
Slow Response
High Latency
Cloud
Smart Hospital
Smart City
Problem Description:
Millions
Thousands
Hundreds
Minimizing data
The Aim: Low Latency
High Response
Fog Cloud
Location Local Internet
Data Thousands Hundreds
Latency and Delay Low High
Storage Distributed Centralized
Differences between Fog and Cloud:
• Which protocol will be used with low response time and high throughput?
• Which is the best location for servers that represents the lowest delay in order to rapidly send
notification to end user?
• Is Fog Computing actually has better performance than Cloud Computing?
Research Questions:
Publisher
Broker
Subscriber
Subscriber
Message Queue Telemetry Transport
Pulse/75
Pulse/75
Pulse/75
Virtual Channel
Pulse
Pulse
Subscriber
I don`t care
The QoS of MQTT:
MQTT HTTP
Transport TCP TCP
Architecture Client/Broker Client/Server
Model Publish/Subscribe Request/Response
QoS 3 Types None
Messages Topic URL
Standard OASIS Arch. Style
Encoding Binary Different Types
Security
Username and
Password, SSL/TLS
SSL/TLS
Differences between MQTT and HTTP:
AP
Cisco switch
HP ProLiant 380 G7
MongoDB
Mosquitto Broker
Node.js Subscriber
Embedded
devices
Gateways
Fog layer
Internet
Core Network
Cloud layer
NodeMCU
Cisco Router
Traffic generator
from Tsung
Publisher
HP ProLiant 380 G8
MongoDB subscriber
and broker Mosquitto
at the same region with Fog
server
test.mosquitto.org
public broker Mosquitto at different country
End user
Subscriber from
Fog server
Real heart sensor
Publisher
MQTT
Protocol
1
2
3
Traffic generator
from Tsung
AP
Cisco switch
Embedded
devices
Gateways
Fog layer
Internet
Core Network
Cloud layer
End user
get notify from
Fog server
Real heart sensor
NodeMCU
Cisco Router
HP ProLiant 380 G8
LAMP
at the same region with Fog
server
dweet.io and freeboard.io
at different country
HP ProLiant 380 G7
LAMP
HTTP
Protocol
Size of Packet Contents (in Bytes):
Message PDU Response
size
MQTT 75 11 2
HTTP 75 79 67
WireShark
Metric Type of Server Bandwidth Protocol
Response Time
Cloud 20.4 Mbits/sec HTTP
Fog 89.3 Mbits/sec HTTP
Cloud 26.8 Mbits/sec MQTT QoS 0
Cloud 26.8 Mbits/sec MQTT QoS 1
Fog 93.9 Mbits/sec MQTT QoS 0
Fog 94.0 Mbits/sec MQTT QoS 1
Throughput
Cloud 4.11 Mbits/sec HTTP
Fog 6.05 Mbits/sec HTTP
Cloud 6.53 Mbits/sec MQTT QoS 0
Cloud 16.4 Mbits/sec MQTT QoS1
Fog 5.72 Mbits/sec MQTT QoS 0
Fog 7.64 Mbits/sec MQTT QoS 1
Performance between
Sensors and Fog /Cloud:
Iperf tool
1
10
100
1000
10000
0 200 400 600 800 1000 1200 1400 1600
Requests(msec)
Number of sensors
MQTT_QoS0_Fog MQTT_QoS0_Cloud HTTP_Fog
HTTP_Cloud HTTP_Dweet MQTT_QoS0_testMosq
MQTT_QoS1_Fog MQTT_QoS1_Cloud MQTT_QoS1_testMosq
Response Time:
1) Requests
HTTP > MQTT
1
10
100
1000
10000
0 200 400 600 800 1000 1200 1400 1600
Connections(msec)
Number of sensors
MQTT_QoS0_Fog MQTT_QoS0_Cloud
HTTP_Fog HTTP_Cloud
HTTP_Dweet MQTT_QoS0_testMosq
MQTT_QoS1_Fog MQTT_QoS1_Cloud
Response Time:
2) Connections
HTTP > MQTT
1
10
100
1000
10000
0 10000 20000 30000 40000 50000 60000 70000 80000 90000
Kbps
Number of messages /Sec
MQTT_QoS0_Fog MQTT_QoS0_Cloud
HTTP_Fog HTTP_Cloud
HTTP_Dweet MQTT_QoS0_testMosq
MQTT_QoS1_Fog MQTT_QoS1_Cloud
Throughput:
HTTP > MQTT
1
10
100
1000
10000
100000
0 10000 20000 30000 40000 50000 60000 70000 80000 90000
Kbps
Number of messages /Sec
MQTT_QoS0_Fog MQTT_QoS0_Cloud
HTTP_Fog HTTP_Cloud
HTTP_Dweet MQTT_QoS0_testMosq
MQTT_QoS1_Fog MQTT_QoS1_Cloud
Packet Loss:
Conclusion: MQTT vs HTTP
Fog vs Cloud
01
02
03
MQTT QoS 0 vs MQTT QoS 1
Thank you
estabriq_94@coie-nahrain.edu.iq
emad@coie-nahrain.edu.iq

More Related Content

PDF
Future Visions of IoT: Fog and Cloud Computing
PDF
Developing io t applications in the fog a distributed dataflow approach
PPTX
Fog computing. Igor Tsybin
PPTX
Rise of fog computing over cloud computing
DOCX
Fog Computing and Cloud Computing
PDF
Sustainability and fog computing applications, advantages and challenges
PPTX
fog computing
PDF
Michael Enescu - Cloud + IoT at IEEE
Future Visions of IoT: Fog and Cloud Computing
Developing io t applications in the fog a distributed dataflow approach
Fog computing. Igor Tsybin
Rise of fog computing over cloud computing
Fog Computing and Cloud Computing
Sustainability and fog computing applications, advantages and challenges
fog computing
Michael Enescu - Cloud + IoT at IEEE

What's hot (20)

PPTX
2014-11-19 fog computing expo
PPTX
Fog Computing and the Internet of Things
DOCX
IoT A Fog-Cloud Computing Model
PPTX
Edge-Fog Cloud: Scaling IoT computations on the edge
PPTX
Fog computing
PDF
A Study on Cloud and Fog Computing Security Issues and Solutions
PPTX
Fog ppt
PDF
Fog computing and internet of things
PPTX
Fog Computing
PDF
TUW-ASE Summer 2015: IoT Cloud Systems
DOCX
What is fog computing
PPTX
Seminar ppt fog comp
PPTX
Fog Computing
PDF
Fog computing in IoT
PPTX
San Francisco Fog Computing Meetup
PDF
Improving Web Siste Performance Using Edge Services in Fog Computing Architec...
PDF
Fog Computing with VORTEX
PPTX
IoT with Salesforce - India Dreamin Presentation
PPTX
Fog Computing
2014-11-19 fog computing expo
Fog Computing and the Internet of Things
IoT A Fog-Cloud Computing Model
Edge-Fog Cloud: Scaling IoT computations on the edge
Fog computing
A Study on Cloud and Fog Computing Security Issues and Solutions
Fog ppt
Fog computing and internet of things
Fog Computing
TUW-ASE Summer 2015: IoT Cloud Systems
What is fog computing
Seminar ppt fog comp
Fog Computing
Fog computing in IoT
San Francisco Fog Computing Meetup
Improving Web Siste Performance Using Edge Services in Fog Computing Architec...
Fog Computing with VORTEX
IoT with Salesforce - India Dreamin Presentation
Fog Computing
Ad

Similar to Performance Analysis of Internet of Things Protocols Based Fog/Cloud over High Traffic (20)

PPT
Introduction-All 'bout IOT
PPT
IOT introduction
PDF
Chapter 1 pdf
PDF
F2CDM: Internet of Things for Healthcare Network Based Fog-to-Cloud and Data-...
PPTX
Lecture 5,6 [Autosavedaot IOT ]slides.pptx
PDF
Performance Analysis of Internet of Things Protocols Based Fog/Cloud over Hig...
PDF
Physical Design of IoT.pdf
PPTX
Introduction to IoT - Unit I
DOCX
Fog computing
PPTX
IoT.pptx .in this we can see about more details
PPTX
InduSoft Web Studio and MQTT for Internet of Things Applications
PPTX
TRADITIONAL V/S "MODERN / IIOT" SCADA: DEMAND RESPONSE V/S REPORT BY EXCEPTION
PDF
COMPARATIVE STUDY BETWEEN VARIOUS PROTOCOLS USED IN INTERNET OF THING
PPTX
IoT Data Communication and Security.pptx
PDF
IOT NOTES BASED ON THE ENGINEERING ACADEMICS
PPTX
Module 1.pptx
DOCX
IOT-Monograph .docx
PPTX
Lecture 2
DOCX
Internet of things unit-1
PPT
Chp 6 infrastructure- the backbone of e-commerce tech
Introduction-All 'bout IOT
IOT introduction
Chapter 1 pdf
F2CDM: Internet of Things for Healthcare Network Based Fog-to-Cloud and Data-...
Lecture 5,6 [Autosavedaot IOT ]slides.pptx
Performance Analysis of Internet of Things Protocols Based Fog/Cloud over Hig...
Physical Design of IoT.pdf
Introduction to IoT - Unit I
Fog computing
IoT.pptx .in this we can see about more details
InduSoft Web Studio and MQTT for Internet of Things Applications
TRADITIONAL V/S "MODERN / IIOT" SCADA: DEMAND RESPONSE V/S REPORT BY EXCEPTION
COMPARATIVE STUDY BETWEEN VARIOUS PROTOCOLS USED IN INTERNET OF THING
IoT Data Communication and Security.pptx
IOT NOTES BASED ON THE ENGINEERING ACADEMICS
Module 1.pptx
IOT-Monograph .docx
Lecture 2
Internet of things unit-1
Chp 6 infrastructure- the backbone of e-commerce tech
Ad

More from Istabraq M. Al-Joboury (8)

PDF
Internet of Things Architecture Based Cloud for Healthcare
PDF
Tech hash code
PDF
Hash code google
PDF
PDF
F2CDM: Internet of Things for Healthcare Network Based Fog-to-Cloud and Data-...
PDF
Internet of Things (IoT): Readme
PDF
Interenet of Things Based Cloud for Healthcare Network
PPTX
Internet of Things (IoT): Readme
Internet of Things Architecture Based Cloud for Healthcare
Tech hash code
Hash code google
F2CDM: Internet of Things for Healthcare Network Based Fog-to-Cloud and Data-...
Internet of Things (IoT): Readme
Interenet of Things Based Cloud for Healthcare Network
Internet of Things (IoT): Readme

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
Empathic Computing: Creating Shared Understanding
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
Teaching material agriculture food technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Electronic commerce courselecture one. Pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Spectroscopy.pptx food analysis technology
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
1. Introduction to Computer Programming.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine learning based COVID-19 study performance prediction
Empathic Computing: Creating Shared Understanding
SOPHOS-XG Firewall Administrator PPT.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Building Integrated photovoltaic BIPV_UPV.pdf
Teaching material agriculture food technology
Dropbox Q2 2025 Financial Results & Investor Presentation
Electronic commerce courselecture one. Pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Programs and apps: productivity, graphics, security and other tools
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
cuic standard and advanced reporting.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectroscopy.pptx food analysis technology
A comparative analysis of optical character recognition models for extracting...
1. Introduction to Computer Programming.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
The Rise and Fall of 3GPP – Time for a Sabbatical?

Performance Analysis of Internet of Things Protocols Based Fog/Cloud over High Traffic

  • 1. Performance Analysis of Internet of Things Protocols Based Fog/Cloud over High Traffic Istabraq M. Al-Joboury and Emad H. Al-Hemiary Al-Nahrain University College of Information Engineering Department of Networks Engineering Baghdad, Iraq
  • 2. The Internet of Things (IoT) is the network of physical objects— devices, vehicles, buildings and other items embedded with electronics, software, sensors, and network connectivity— that enables these objects to collect and exchange data. What is IoT?
  • 3. Thousands of sensors by 2020 End user (doctors, nurses, patients and patient`s family) High Traffic Slow Response High Latency Cloud Smart Hospital Smart City Problem Description:
  • 5. Fog Cloud Location Local Internet Data Thousands Hundreds Latency and Delay Low High Storage Distributed Centralized Differences between Fog and Cloud:
  • 6. • Which protocol will be used with low response time and high throughput? • Which is the best location for servers that represents the lowest delay in order to rapidly send notification to end user? • Is Fog Computing actually has better performance than Cloud Computing? Research Questions:
  • 7. Publisher Broker Subscriber Subscriber Message Queue Telemetry Transport Pulse/75 Pulse/75 Pulse/75 Virtual Channel Pulse Pulse Subscriber I don`t care
  • 8. The QoS of MQTT:
  • 9. MQTT HTTP Transport TCP TCP Architecture Client/Broker Client/Server Model Publish/Subscribe Request/Response QoS 3 Types None Messages Topic URL Standard OASIS Arch. Style Encoding Binary Different Types Security Username and Password, SSL/TLS SSL/TLS Differences between MQTT and HTTP:
  • 10. AP Cisco switch HP ProLiant 380 G7 MongoDB Mosquitto Broker Node.js Subscriber Embedded devices Gateways Fog layer Internet Core Network Cloud layer NodeMCU Cisco Router Traffic generator from Tsung Publisher HP ProLiant 380 G8 MongoDB subscriber and broker Mosquitto at the same region with Fog server test.mosquitto.org public broker Mosquitto at different country End user Subscriber from Fog server Real heart sensor Publisher MQTT Protocol 1 2 3
  • 11. Traffic generator from Tsung AP Cisco switch Embedded devices Gateways Fog layer Internet Core Network Cloud layer End user get notify from Fog server Real heart sensor NodeMCU Cisco Router HP ProLiant 380 G8 LAMP at the same region with Fog server dweet.io and freeboard.io at different country HP ProLiant 380 G7 LAMP HTTP Protocol
  • 12. Size of Packet Contents (in Bytes): Message PDU Response size MQTT 75 11 2 HTTP 75 79 67 WireShark
  • 13. Metric Type of Server Bandwidth Protocol Response Time Cloud 20.4 Mbits/sec HTTP Fog 89.3 Mbits/sec HTTP Cloud 26.8 Mbits/sec MQTT QoS 0 Cloud 26.8 Mbits/sec MQTT QoS 1 Fog 93.9 Mbits/sec MQTT QoS 0 Fog 94.0 Mbits/sec MQTT QoS 1 Throughput Cloud 4.11 Mbits/sec HTTP Fog 6.05 Mbits/sec HTTP Cloud 6.53 Mbits/sec MQTT QoS 0 Cloud 16.4 Mbits/sec MQTT QoS1 Fog 5.72 Mbits/sec MQTT QoS 0 Fog 7.64 Mbits/sec MQTT QoS 1 Performance between Sensors and Fog /Cloud: Iperf tool
  • 14. 1 10 100 1000 10000 0 200 400 600 800 1000 1200 1400 1600 Requests(msec) Number of sensors MQTT_QoS0_Fog MQTT_QoS0_Cloud HTTP_Fog HTTP_Cloud HTTP_Dweet MQTT_QoS0_testMosq MQTT_QoS1_Fog MQTT_QoS1_Cloud MQTT_QoS1_testMosq Response Time: 1) Requests HTTP > MQTT
  • 15. 1 10 100 1000 10000 0 200 400 600 800 1000 1200 1400 1600 Connections(msec) Number of sensors MQTT_QoS0_Fog MQTT_QoS0_Cloud HTTP_Fog HTTP_Cloud HTTP_Dweet MQTT_QoS0_testMosq MQTT_QoS1_Fog MQTT_QoS1_Cloud Response Time: 2) Connections HTTP > MQTT
  • 16. 1 10 100 1000 10000 0 10000 20000 30000 40000 50000 60000 70000 80000 90000 Kbps Number of messages /Sec MQTT_QoS0_Fog MQTT_QoS0_Cloud HTTP_Fog HTTP_Cloud HTTP_Dweet MQTT_QoS0_testMosq MQTT_QoS1_Fog MQTT_QoS1_Cloud Throughput: HTTP > MQTT
  • 17. 1 10 100 1000 10000 100000 0 10000 20000 30000 40000 50000 60000 70000 80000 90000 Kbps Number of messages /Sec MQTT_QoS0_Fog MQTT_QoS0_Cloud HTTP_Fog HTTP_Cloud HTTP_Dweet MQTT_QoS0_testMosq MQTT_QoS1_Fog MQTT_QoS1_Cloud Packet Loss:
  • 18. Conclusion: MQTT vs HTTP Fog vs Cloud 01 02 03 MQTT QoS 0 vs MQTT QoS 1