You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a bot, written in Python, bot framework, run on a local VM, connected via ngrok to my bot app for my enterprise. User messages take about 5-7 seconds before it reaches the bot/VM. Does anyone else face a similar issue? What’s the typical latency expected?
One interesting observation: during the crowdstrike incident, the bot responded significantly faster. My enterprise was not affected by crowdstrike.
Sorry for asking this question here, I am not sure where else to ask this.
Expected behavior
Nearly zero lag.
Actual behavior
5-7 seconds lag.
Error details
No response
The text was updated successfully, but these errors were encountered:
The latency experienced by you where user messages take about 5-7 seconds to reach the bot/VM when running on a local VM connected via NgRok is not typically expected. This delay could be due to various factors such as network configuration, VM performance, or ngrok settings.
It's recommended to check and optimize these aspects to reduce latency: Optimize VM performance: Ensure the VM has enough resources (CPU, memory) to handle requests efficiently. Create and host a dev tunnel: (Alternative for NgRok and recommended by Microsoft)https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/get-started?tabs=windows Upgrade ngrok plan: Consider using a paid ngrok plan for better routing and reduced latency. Test direct hosting: Consider hosting the bot on a cloud provider (e.g., Azure, AWS) instead of a local VM to reduce the latency caused by local network and NgRok/Dev Tunnel.
Steps to reproduce
I have a bot, written in Python, bot framework, run on a local VM, connected via ngrok to my bot app for my enterprise. User messages take about 5-7 seconds before it reaches the bot/VM. Does anyone else face a similar issue? What’s the typical latency expected?
One interesting observation: during the crowdstrike incident, the bot responded significantly faster. My enterprise was not affected by crowdstrike.
Sorry for asking this question here, I am not sure where else to ask this.
Expected behavior
Nearly zero lag.
Actual behavior
5-7 seconds lag.
Error details
No response
The text was updated successfully, but these errors were encountered: