Book Image

Internet of Things for Architects

By : Perry Lea
Book Image

Internet of Things for Architects

By: Perry Lea

Overview of this book

The Internet of Things (IoT) is the fastest growing technology market. Industries are embracing IoT technologies to improve operational expenses, product life, and people's well-being. An architectural guide is necessary if you want to traverse the spectrum of technologies needed to build a successful IoT system, whether that's a single device or millions of devices. This book encompasses the entire spectrum of IoT solutions, from sensors to the cloud. We start by examining modern sensor systems and focus on their power and functionality. After that, we dive deep into communication theory, paying close attention to near-range PAN, including the new Bluetooth® 5.0 specification and mesh networks. Then, we explore IP-based communication in LAN and WAN, including 802.11ah, 5G LTE cellular, Sigfox, and LoRaWAN. Next, we cover edge routing and gateways and their role in fog computing, as well as the messaging protocols of MQTT and CoAP. With the data now in internet form, you'll get an understanding of cloud and fog architectures, including the OpenFog standards. We wrap up the analytics portion of the book with the application of statistical analysis, complex event processing, and deep learning models. Finally, we conclude by providing a holistic view of the IoT security stack and the anatomical details of IoT exploits while countering them with software defined perimeters and blockchains.
Table of Contents (18 chapters)
Title Page
Packt Upsell
Contributors
Preface
Free Chapter
1
The IoT Story

Protocol summary and comparison


A summary and comparison of the various protocols is now given. It should be noted that there are exceptions to some of these categories. For example, while MQTT offers no built-in security provisioning, it can be layered at the application level. In all cases, there are exceptions and the table is built from the formal specifications:

MQTT

MQTT-SN

CoAP

AMQP

STOMP

HTTP/RESTful

Model

MOM pub/sub

MOM pub/sub

RESTful

MOM

MOM

RESTful

Discovery protocol

No

Yes (via gateways)

Yes

No

No

Yes

Resource demands

Low

Very Low

Very Low

High

Medium

Very High

Header Size (bytes)

2

2

4

8

8

8

Average power usage

Lowest

Low

Medium

High

Medium

High

Authentication

No (SSL/TLS)

No (/TLS)

No (DTLS)

Yes

No

Yes (TLS)

Encryption

No (SSL/TLS)

No (SSL/TLS)

No (DTLS)

Yes

No

 

Yes 

(TLS)

Access controls

No

No

No ( proxy)

Yes

No

Yes

Communication overhead

Low

Very Low

Very Low

High

High, verbose

High

Protocol complexity

Low

Low

Low

High

Low

Very High

TCP/UDP

TCP

TCP/UDP

UDP

TCP/UDP

TCP

TCP

Broadcasting

Indirect

Indirect

Yes

No

No

No

Quality of Service

Yes

Yes

With CON messages

Yes

No...