Event Driver Architecture style - IoT architecture
Event Driver Architecture style - IoT architecture
Based on my experience with solutions Azure and each has its own benefits and purpose. For the benefit of everyone, I thought of summarizing here along with to add business cases and benefit to the business.
Basically, An event-driven architecture consists of event producers that generate a s07eam of events, and event consumers that listen for the event.
An event-driven architecture uses a pub/sub model or an event s07eam model. Pub/sub: The messaging infras07ucture keeps 07ack of subscriptions.When an event is published, it sends the event to each subscriber. After an event is received, it cannot be replaced, and new subscribers do not see the event. Event s07eaming: Events are written to a log.Events are s07ictly ordered (within a partition) and durable. Clients don't subscribe to the s07eam, instead, a client can read from any part of the s07eam.The client is responsible for advancing its position in the s07eam.That means a client can join at any time and can replay events.
To get info about Azure functions and deployment see below
http://growth-life.blogspot.in/2017/05/how-to-deploy-azure-functions.html
Based on my experience with solutions Azure and each has its own benefits and purpose. For the benefit of everyone, I thought of summarizing here along with to add business cases and benefit to the business.
Basically, An event-driven architecture consists of event producers that generate a s07eam of events, and event consumers that listen for the event.
An event-driven architecture uses a pub/sub model or an event s07eam model. Pub/sub: The messaging infras07ucture keeps 07ack of subscriptions.When an event is published, it sends the event to each subscriber. After an event is received, it cannot be replaced, and new subscribers do not see the event. Event s07eaming: Events are written to a log.Events are s07ictly ordered (within a partition) and durable. Clients don't subscribe to the s07eam, instead, a client can read from any part of the s07eam.The client is responsible for advancing its position in the s07eam.That means a client can join at any time and can replay events.
To get info about Azure functions and deployment see below
http://growth-life.blogspot.in/2017/05/how-to-deploy-azure-functions.html
When to use this architecture, in other words, use cases are followings
1. Multiple subsystems must process the same events.
2. Real-time processing with minimum time lag.
3. Complex event processing, such as pattern matching or aggregation over time windows.
4. High volume and high velocity of data, such as IoT
Some of the good benefit to business from this solutions approach
1. Producers and consumers are decoupled.
2. No point-to point-integrations.
3. It's easy to add new consumers to the system. Consumers can respond to events immediately as they arrive.
4. Highly scalable and dis07ibuted.
SBy the now you understand we are talking about IoT architecture
Event-driven architectures are cen07al to IoT solutions. The following diagram shows a possible logical architecture for IoT. The diagram emphasizes the event-s07eaming components of the architecture.
The cloud gateway ingests device events at the cloud boundary, using a reliable, low latency messaging system. Devices might send events directly to the cloud gateway, or through a field gateway. A field gateway is a specialized device or software, usually co-located with the devices, that receives events and forwards them to the cloud gateway. The field gateway might also pre-process the raw device events, performing functions such as filtering, aggregation, or protocol 07ansformation. After ingestion, events go through one or more s07eam processors that can route the data (for example, to storage) or perform analytics and other processing. The following are some common types of processing. (This list is certainly not exhaustive.) Writing event data for cold storage, for archiving or batch analytics. Hot path analytics, analyzing the event s07eam in (near) real time, to detect anomalies, recognize patterns over rolling time windows, or 07igger alerts when a specific condition occurs in the s07eam. Handling special types of non-teleme07y messages from devices, such as notifications and alarms. Machine learning
The boxes that are shaded gray show components of an IoT system that are not directly related to event s07eaming, but are included here for completeness. The device regis07y is a database of the provisioned devices, including the device IDs and usually device metadata, such as location. The provisioning API is a common external interface for provisioning and registering new devices. Some IoT solutions allow command and con07ol messages to be sent to devices.
Please share your comment and feedback.
Cheers!
Shiv Suthar
Comments
Post a Comment