iot unit 3 - Google Docs
iot unit 3 - Google Docs
Lack of encryption
Uses high power due to the TCP connections
MQTT Use Cases
parking space with sensors that can sense empty parking spots to guide
A
vehicle in the right direction
AMQP connects across various systems, technologies, time and space. There
are three parts which manage the entire AMQP protocol:
his protocol is mostly used in the business sector. It uses back office data
T
centres to specify devices like mobile phones, handsetsetc.
Features of XMPP
Extensible design
Open standards
Client/server architecture
Pros of XMPP
Features of CoAP
SOAP Protocol
Simple Object Access Protocol(SOAP) is a network protocol for exchanging
structured data between nodes. It uses XML format to transfer messages. It
works ontopofapplicationlayerprotocolslikeHTTPandSMTPfornotations
and transmission.
SOAP allows processes to communicate throughout platforms, languages, and
operating system, since protocols like HTTP are already installed on all
platforms. SOAP was designed by Bob Atkinson, DonBox, Dave Winer, and
Mohsen Al Ghosein at Microsoft in 1998. SOAP was maintained by the XML
Protocol Working Group of the World Wide Web Consortiumuntil 2009.
4.Fault:
This optional section
section contains the status of the application and
and any errors. It
should not appear more than
than once in a SOAP message.
It is a Stateless server, supports JSON and XML and It is simple than SOAP.
It has well-maintained documentation that reflect each change in the
architectures of the REST.
It is a simple approach to build the client and server service.
It follows standard protocol such as HTTP, HTTPS and FTP.
It provides a way to connect with server-side applications.
It is based on architectural style for designing simple, lightweight, and
distributed web services compared to SOAP.
Examples of REST Systems are -Google Glass API, Amazon web services,
Atom, Tesla Model S.
Client-Server
Stateless Server
Cacheable
Uniform Interface
Layered System
REST web services are fast as compared to SOAP because it has no
restriction like SOAP. It consumes less bandwidthand resources.
It is an architectural style for creating lightweight, scalable and maintainable
web service.
It is a language and platform-independent web service that can be written in
any programming language and run on Windows, Linuxand Mac.
REST web service helps the client machine access different formats of data
such as HTML, JSON, XML, etc. from the webserver.
SOAP Web Service REST Web Service
It stands for REpresentational State
Transfer.
It stands for Simple Object Access
Protocol.
It is XML based messaging protocol.It is not a protocol.It is an architectural style for
distributed hypermedia system.
and resources as compared to
It needs more bandwidth and resources SOAP.
for better web performance.
It is not specifically applied that the
message format must be XML or JSON,
SOAP enforces XML as a message
format. etc.
It has not great performance as It has better performance as compared to
compared to REST. SOAP, less CPU intensive, lesser code,
REST requires less bandwidth etc.
It does not support error handling. It has built-in error handling. SOAP
that requires more coding to send a It is a lightweight, scalable and maintainable.
message.
n IP address allows computers to send and receive data over the internet. Most IP
A
addresses are purely numerical, but as internet usage grows, letters have been added to
some addresses.
.Public
1
2.Private
3.Static
4.Dynamic
hile the public and private types indicate the location of the computer or computer
W
network—private being used inside a network, public being used outside of a network—
static and dynamic indicate permanency or lack thereof. You'll find more information about
the types of IP addresses in "Types of IP Addresses" below.