Module 6 Flashcards
iot platform for usecase development
types of iot platform
- end-to-end iot platforms
- connectivity platform
- cloud platform
- data platform
end to end iot platform
1.facilitates the handling of millions of simultaneous device connections by providing hardware, software, connectivity, security and device management tools
2. provides ota(over the air) firmware, cloud management and device monitoring
connectivity platform
- provides cheap and low power connectivity solutions via wifi and cellular technology
data platform
provides numerous tools for data routing, facilitate management and visualization of data using data analytics tools.
how to validate an effective iot platform
- scalability 2. reliability 3. customization 4. operations
- protocols 6. hardware support 7. cloud technology 8. technical support 9. system architecture 10. security 11. operational expense
Communication APIs talked about in this module
(full forms)
->API-application programming Interfaces
->REST-Representational State Transfer
->Websocket
API
- an interface used by programs to access an application
- enables a program to send commands to another program and receive replies from the app.
- IoT APIs are the interface points between an IoT device and the internet or other network components.
REST
- REST API follows the request response model
- REST architectural constraints apply to the components ,connectors and data elements
- motivation for REST was to capture the characteristics of the web which made the web successful.
- client tries to access these resources via URIs using commands like GET,PUT,POST,DELETE and so on that are defined by HTTP
Constraints in rest based API
(explain the points)
- Client server 2. Stateless 3. Cache-able 4. Layered system 5. User interface 6. Code on demand
advantages in rest based API
(explain the points)
- simplicity
- flexibility
- caching
- stateless
disadvantages in rest based API
(explain the points)
- limited real-time support
- performance overheard
- complexity
Web socket based communication APIs
- is a TCP based network protocol. It defines how data can be exchanged two networks
- TCP establishes connection between two endpoints, which are referred to as sockets making it bi-directional
- enables direct communication between web application and websocket
- fast connection so used for real time connections
- logical choice for any application that requires high speed, low-latency connection
architecture of web socket
- works on the principle of exclusive-pair model
- need to establish a dedicated connection to start the process and goes on till the connection is terminated.
- remains open till client sends a request to close the connection
- less overhead, low traffic, less latency and high throughput
advantages of websocket
- Real time communication
- efficiency 3. scalability
- reduced overhead
disadvantage of web socket
- complexity 2. security
- compatibility