What is an Azure Event Grid?

Introduction 

 
In this article, we will look at an overview of Microsoft Azure Event Grid and its services.
 
Prerequisites 
 
Before we start understanding what Microsoft Azure event grid is, we should know:
  • Basic knowledge of cloud computing and its services
  • A basic knowledge of Microsoft Azure
  • Good to have knowledge of ‘Event-Driven Applications / Serverless Architecture

Introduction of Microsoft Azure Event Grid

 
Nowadays, most applications are fully automated and developed on decoupled architecture, microservices, event-driven applications, serverless architecture, and business logic is broken down into smaller pieces. Along with this, we may require another process when certain events occur in the system, database or in the environment.
 
Considering Azure cloud event-driven applications, we can build event sources like BLOB, resource group, subscriptions, event hub, service bus, etc. and event handlers like Azure function, logic apps, storage queue, hybrid connection, etc. In between these source events and event handlers, we need someone to handle and route the events reliably with advanced capabilities like filtering, low-cost, can support built-in and custom events. This role is played by the Azure event grid, which helps us to build such kind event-driven applications, serverless architecture, etc.
 
Event Grid is a fully managed event service that enables you to easily manage events across many different Azure services and applications. This service simplifies building event-driven and serverless applications in the Azure cloud.
 
There are five key concepts in Azure Event Grid:
  • Events - What happened.
  • Event sources - Where the event took place.
  • Topics - The endpoint where publishers send events.
  • Event subscriptions - The endpoint or built-in mechanism to route events, sometimes to more than one handler. Subscriptions are also used by handlers to intelligently filter incoming events.
  • Event handlers - The app or service reacting to the event.

Tangible benefits of Azure Event Hub?

  1. It is natively supported to event handling mechanisms in the Azure cloud application. Event Grid connects data sources and event handlers quickly.
  2. We can capture most of the events and its routing to the event handlers easily with the help of the Azure event hub.
  3. It supports both build-in and custom events.
  4. We can apply more filters on the event types so that only appropriate event receiver can receive the event and its information. It provides intelligent routing with filters and standardizes on an event schema.
  5. It is a highly reliable service with 24 hours retry.
  6. It has a very low cost as we need to pay per event in the event grid.
  7. Event Grid with support for millions of events per second.
  8. It helps vastly improve serverless, ops automation, and integration work.

Pricing Information

 
It has pay-per-event pricing model, so you only pay for what you use. The first 100,000 operations per month are free. Operations are defined as event ingress, subscription delivery attempts, management calls, and filtering by subject suffix.
 
Reference Links
  • https://azure.microsoft.com/en-in/resources/videos/introducing-azure-event-grid/
  • https://docs.microsoft.com/en-us/azure/event-grid/overview

Conclusion

 
In short, the Azure event grid is a reliable event delivery service at a massive scale. Azure Event Grid is a fully-managed event routing service running on top of Azure Service Fabric.
 
In this article, we saw an overview of Microsoft Azure Event Grid and its services. Keep Sharing :)