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

Getting response to slow in skype channel

Open inornos opened this issue 10 years ago • 9 comments

Skype working slow it took 15 seconds to get response from API , what i do for increasing my responding speed

inornos avatar Jul 19 '16 09:07 inornos

Keep in mind that when you freshly deploy your Bot to Azure, the first request takes a while. All following messages will come quicker.

But i noticed that when the bot is idling for quite a bit, he takes a bit longer for the first message again (maybe some sleep-mode?)

NanashiGIT avatar Jul 19 '16 11:07 NanashiGIT

ya i know about 1st message after deploy its take some time but i'm not talking about 1st message, when i try 2nd or 3rd request its also take a some time

inornos avatar Jul 19 '16 11:07 inornos

You could try identifying which part of the communication takes the most time (for example by remote debugging). How much does it take for a message to reach your bot? How much does it take for the reply to reach Skype? Accessing the Bot State API (i.e. reading and setting the state) might also increase the response time.

Thegaram avatar Jul 19 '16 16:07 Thegaram

Yeah, skype round trip should < 1 sec. If you are trying to hit an server which is not there then it will take ~20 seconds to time out. Check your logic. Bot State should be <200ms, it's just a table storage lookup.

tomlm avatar Jul 20 '16 01:07 tomlm

I am experiencing slow responses, from time to time, with calling bot on Android app

urmich avatar Jul 21 '16 12:07 urmich

Hi @inornos and @mghimp - are you still seeing these slow responses?

danmarshall avatar Aug 12 '16 22:08 danmarshall

Closing due to inactivity, please open a new issue or reply to this one asking us to reopen if needed. Thanks!

Andrea-Orimoto avatar Aug 24 '16 15:08 Andrea-Orimoto

@Andrea-Orimoto I am facing similar issue. The response time is very slow in all channels including skype, slack, messenger, telegram, kik. It takes around 10 second to get the response.

somprabhsharma avatar Oct 26 '16 09:10 somprabhsharma

@tomferreira @tomlm @NanashiGIT we are also experiencing tremendous latency in Skype vs. emulator on localhost. It seems like it's related to obtaining an authorization token - some requests hang for 10+ seconds, and others (the ones that use an existing auth token perhaps) are much faster.

mecampbellsoup avatar Dec 26 '18 17:12 mecampbellsoup