Consume HTTP Server-Sent events in Azure back-end process

Dominic Surrao 1 Reputation point
2022-07-11T16:55:35.86+00:00

I need to create a back-end process that consumes HTTP Server-Sent Events, and forwards the messages on to Azure Event Hubs. What is the most appropriate Azure resource to host this continuously-running process?

Thanks.

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
728 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,415 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
691 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andriy Bilous 11,631 Reputation points MVP
    2022-07-13T13:07:44.33+00:00

    Hello @Dominic Surrao

    I understand that you need to consume HTTP Server-Sent Events and forwards the messages on to Azure Event Hubs, but still it would be great to have more information: amount of http events/sec, http request size, your budget, time processing requirements.

    Based on the requirements(back-end process that consumes HTTP Server-Sent Events, and forwards the messages on to Azure Event Hubs) I would recommend you following solutions:
    220443-image.png
    https://learn.microsoft.com/en-us/azure/architecture/solution-ideas/articles/serverless-event-processing-filtering

    220444-image.png
    https://learn.microsoft.com/en-us/azure/architecture/solution-ideas/articles/serverless-event-processing-aks

    220400-image.png
    https://learn.microsoft.com/en-us/azure/architecture/example-scenario/banking/patterns-and-implementations

    You can find architecture that best suits to your business case in Azure Architecture Center
    The Azure Architecture Center provides guidance for designing and building solutions on Azure using established patterns and practices

    If you think your question has been answered, click "Mark as Accept Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.