New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot response time is slow #1395
Comments
@somprabhsharma This may be something we're resolving soon. Where is your bot deployed, and where are you connecting to it from (regionally)? Depending where you're at the message is bouncing through our east & west coast datacenters. We're expanding our deployments soon though. |
Our bot is deployed in AWS us-east-1 (N. Virginia) region. |
@jameslew any update on this ? |
Given that you're asking, the fix we did probably hasn't resolved your problem :). We're deployed in the US, Europe and Southeast Asia now. Can you tell me more about what your bot does (architecture wise)? What services are you using for your bot; LUIS, etc? I would expect us to introduce some time via the extra hop, but in the 10's to 100 ms range. |
Please post an example JSON of an activity you are posting. We see <~2 second post times in all data centers on most channels (email and SMS are slow at the transport level.) |
The same issue is happening for me. I was developing with accessing Facebook Graph API directly without MBF. And I'm trying to transfer my code to on MBF, but the delay is obviously big and it effects user experience. My Node.js code is running on AWS EC2 US West (N. California). |
@tomlm In my case, I just executed session.send('test') with Node.js, and it takes about 4 times longer than accessing Facebook api directly. This specific testing routes from Send to Receive are No MBF case takes about 1 second. On the other hand, MBF case took about 3~4 seconds. There are 2 more http requests between our AWS and MBF than No MBF case, but I think normally http request doesn't take such a long time even though the servers place very far location. |
We have abandoned using MBF for its slow response. |
Sorry this did not work for you. @tomlm is this something that should be better with the new geo locations? |
Thanks all for participating in this thread. We're always working to improve performance and have made additional changes since this discussion. Performance investigations tend to be very specific (based on physical location, message payloads, etc.) so if you're encountering poor performance, please open a new issue and we can follow up in detail. |
Microsoft bot framework is too slow compared to direct channel integration. |
I understood and totally agreed with what @dandriscoll explained. |
This may be useful for others. We ran a few tests where we were using the echo sample bot. We sent messages via the DirectLine Nuget Package and received messages through the WebSocket endpoint:
|
We have a new feature in development that further decentralizes the conversation and moves it to a faster backing store. It's in closed beta right now and will be in public preview soon. |
@dandriscoll do you have a specific date for the public preview? |
@pmizel, we're looking at this week sometime. |
@dandriscoll Has the new feature been officially released? |
Hi @ykensuke, this feature is available as "High-speed storage." More details here: https://blog.botframework.com/2017/02/02/Direct-Line-performance-improvements/ |
on Telegram Channel - I am facing the 4-6 seconds latency in the MBF response (MBF + Azure). |
We are facing a slowness issue to use MS Teams as Chatbot channel. |
On DirectLine BOT performance is good but once we integrated BOT on Teams, response is very slow. It is taking time more than 10 seconds for each query even Hi and Hello. |
I'm facing the same issue. Any updates here? |
I am experiencing slow response time for my bot on messenger, slack, telegram. If i do not use MBF and direct interact with the respective webhook, then the response time is much quicker. Response time through MBF is around 2-3 seconds while it should be less than 1 seconds.
The text was updated successfully, but these errors were encountered: