Azure Event Grid Process Optimization
    • Dark
      Light
    • PDF

    Azure Event Grid Process Optimization

    • Dark
      Light
    • PDF

    Article summary

    #ServerlessTips - Event Grid
    Author: Steef-Jan Wiggers Azure MVP

    Azure Event Grid is a service in Azure, which offers a fully managed event-routing service with a publish-subscribe model. You can connect an event source to the event grid service and configure one or more event subscribers to handle the events – thus potentially process large workloads.

    Assume pushing a large volume of images to Azure Blob storage container (Azure Storage Account V2) will results in large amount of blobCreated events. You can configure multiple handlers to the storage account to handle events by various Azure Functions. Each function receiving the event through the subscription can stream the image to memory and process it by for instance, resizing to various formats, route to image analysis, and so on.

    Process Optimization with Event Grid.png

    Event Grid in combination with other Serverless services in Azure can be suitable for fan-in and fan-out scenario’s.

    It leverages Service Fabric under the hood and thus scales when the workload increases. Furthermore, Azure Function also auto-scales when running them under a consumption plan. With the scalability of both Event Grid and Functions you can optimize processing of an instance images, and push them to a CDN (content), storage meta-data of the pictures in a Cosmos DB instance, and so on.

    Azure Event Grid


    Was this article helpful?

    ESC

    Eddy AI, facilitating knowledge discovery through conversational intelligence