Hi ,
Thanks for reaching out to Microsoft Q&A.
The application is experiencing high latency and message drops on the front end, severely affecting functionality. MQTT messages from IoT devices are confirmed to arrive normally, as verified through Azure Explorer, indicating that the issue is not with device connectivity or message ingestion.
Previously, similar symptoms occurred when CosmosDB throughput limits were reached, resulting in 429 throttling errors. However, this time, no throttling events are observed, and increasing the request units (RUs) does not improve performance, ruling out direct quota saturation.
The issue likely lies between the ingestion and front-end delivery layers, potentially in the message processing, event routing (eventhub, stream analytics, or service bus), or API response path. Bottlenecks in query latency, partition key design, or hot partitions within cosmosDB could also contribute without triggering throttling.
Next steps to check:
Check end-to-end telemetry (App Insights, Azure Monitor) for latency spikes.
Review Cosmos DB diagnostics for request latency, partition load, and RU consumption patterns.
Verify if the API or streaming layer has backlog or scaling issues.
Enable detailed logging to identify where message loss or delay begins.
This is likely a downstream processing or read-path performance issue rather than ingestion failure.
Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.