Choose the correct Service/s for a real-time microcontroller control

Patrick Schneider 86 Reputation points

Hello, i would like to connect my microcontroller to a cloud service. The microcontroller sends the current position of an actuator to the cloud service. The cloud service executes a short calculation and sends a response to the microcontroller with the new velocity. The service should run through this loop with a minimum of delay. After my research, possible Services are: - Web App - Web App + Event Grid - Functions App + Event Grid - Functions App + HTTP - (Logic App) What is the best way to communicate with a minimum of latency? I hope this is the correct point of contact. With best regards Patrick

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,664 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,994 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
354 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,402 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pramod Valavala 20,611 Reputation points Microsoft Employee

    While all the options you've shared are viable, you would still require time for each subsequent request. The best way to ensure minimum latency would be to have a constant connection using something like Azure IOT Hub or Azure SignalR Service.

    But note that latency cannot be guaranteed because it would depend on multiple factors as described in the IOT Hub Docs.

    For requirements such as the one you've described, it would be recommended to perform the calculation on the device or a gateway service nearby,

0 additional answers

Sort by: Most helpful