Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Â
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:
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