botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Directline GET API - delay in getting Message from Bot

Open senthil2m opened this issue 10 years ago • 6 comments

Hi,

After posting message successfully to the bot using Directline POST API from the Android client app, I can get the reply message from the bot if I make Directline GET API call only after 7 seconds. This happens even if the bot simply replies back without any complex logic/server call in it. I would like to know how can this issue be fixed ? I have also seen an issue related to this in the forum #1297 but the issue was closed mentioning that they are working on it. I would like to know the status of this issue. Please update.

Thanks, Senthil M

senthil2m avatar Nov 09 '16 11:11 senthil2m

@senthil2m There are many issues related with latency in the Direct Line. Check dandriscoll's answer here: https://github.com/Microsoft/BotBuilder/issues/915 and also take a look at https://github.com/Microsoft/BotBuilder/issues/1413 and https://github.com/Microsoft/BotBuilder/issues/1144.

AFAIK they already have it running in datacenters all around the globe. Where is your bot deployed? Can you try to deploy it on Azure to verify if the latency gets reduced?

palmerabollo avatar Nov 12 '16 18:11 palmerabollo

@palmerabollo Issue occurs in the Bot deployed in Azure, located in South India.

senthil2m avatar Nov 14 '16 12:11 senthil2m

Hi @palmerabollo, can you send an example conversation ID where you're seeing this and I can look to see where the time is spent?

dandriscoll avatar Nov 14 '16 17:11 dandriscoll

Closing due to lack of response. If you still have an issue, please let us know.

chrimc62 avatar Nov 28 '16 00:11 chrimc62

I have tested even today with the REST3.0 Directline API client. I got the responses with the delay of 7 to 8 seconds. Please find the details below for further investigation. Bot App ID : 4fcd0d6f-20f1-43be-9bd7-233db6ad0b1e ConversationID : Dpcn6aeHJPn

senthil2m avatar Nov 28 '16 07:11 senthil2m

Same #2078

sayyednazeer avatar Feb 21 '17 03:02 sayyednazeer