Slow Lex Responses

0

Hello all; We are using Lex (v1) with Amazon Connect. On Voice channel sometimes we get slow responses.

I checked RuntimeSuccessfulRequestLatency metric from Cloudwatch and got data as below. The ones marked with yellow has no lambda hooks, but they returned very slow. These are generally Yes/No questions with most 2-3 intents. I have a voice recording of these and after user input lex waits around 4-5 second to respond.

How can we make lex respond faster?

Thank you

RequestLatency

4개 답변
0

The latency you're seeing makes no sense. I get around 250 ms with NOT a yes/no bot. Any chance you Connect, Lex and lambda are in different regions or something like that? If you build a bot from scratch with no real configuration does it show the same latency?

david

profile picture
dmacias
답변함 2년 전
0

Hello,

Thanks for your response. All our resources are in us-west-2. Normally it takes 2-3 seconds, but sometimes it is peaking as you can see. And user on the call waits. We don't have this issue on chat. Only on voice channel.. I tested from Lex console as well. Its response is about 2 seconds.

Thank you

bbolek
답변함 2년 전
0

Wow, that makes no sense. What do the conversation logs show in CW?

profile picture
dmacias
답변함 2년 전
0

Amazon Lex bots will have a cold start after 24 hours with no traffic. Check if this is the case, if it is then you can prevent this by scheduling a Lambda function to make a call to Lex every few hours (you can use Eventbridge for this). A simple PostText (Lex v1) should be fine for this purpose.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠