When building your IoT solution you face different steps. They normally include Device registration, Data Ingestion, Data processing and Data analysis. So come hear how to model this process on micro services architecture and then hosting whole thing on premise or on a cloud with Azure Service Fabric.
3. Onsight
Topics
Why Azure Service Fabric
Device Registration
Data Ingestion
Data processing
Data analysis
4. Onsight
Microsoft Azure Service Fabric
A platform for reliable, hyperscale, microservice-based applications
Microservices
Azure
Windows
Server
Linux
Hosted Clouds
Windows
Server
Linux
Service Fabric
Private Clouds
Windows
Server
Linux
High Availability
Hyper-Scale
Hybrid Operations
High Density Rolling Upgrades
Stateful services
Low Latency
Fast startup &
shutdown
Container Orchestration
& lifecycle management
Replication &
Failover
Simple
programming
models
Load balancing
Self-healingData Partitioning
Automated Rollback
Health
Monitoring
Placement
Constraints
6. Onsight
What is a microservice?
Is (logic + state) that is independently versioned, deployed, and
scaled
Has a unique name that can be resolved
e.g. fabric:/myapplication/myservice
Interacts with other microservices over well defined interfaces and
protocols like REST
Remains always logically consistent in the presence of failures
Hosted inside a “container” (code + config)
Can be written in any language and framework
Developed by a small engineering team
7. Onsight
Types of microservices
Stateless microservice
Has either no state or it can be retrieved from an external store
There can be N instances
e.g. web frontends, protocol gateways etc.
Stateful microservice
Maintain hard, authoritative state
N consistent copies achieved through replication and local
persistence
e.g. database, documents, workflow, user profile, shopping cart
etc.
16. Onsight
Device Registration
Device needs to be registered when it gets connected to
the system.
This includes normally authentication keys and serial
number
When device gets registered you should assing it value
which you will later use for sharding
17. Onsight
Data Ingestion
Gathered data from 1 data source is not so important
normally
Real-time data ingestion vs batch ingestion
22. Onsight
Data Analysis
Data is stored outside of service fabric for processing
Most cases makes sense of using other tools to build the
analysis platform than Service Fabric
23. Microsoft Azure Service Fabric
A platform for reliable, hyperscale, microservice-based applications
Microservices
Azure
Windows
Server
Linux
Hosted Clouds
Windows
Server
Linux
Service Fabric
Private Clouds
Windows
Server
Linux
High Availability
Hyper-Scale
Hybrid Operations
High Density Rolling Upgrades
Stateful services
Low Latency
Fast startup &
shutdown
Container Orchestration
& lifecycle management
Replication &
Failover
Simple
programming
models
Load balancing
Self-healingData Partitioning
Automated Rollback
Health
Monitoring
Placement
Constraints