Amazon Lex stop working

0

When bot stay without disturb for a couple of hours, lambdas stops working on some intents. And after a couple of minutes, lambdas works well. How can I add loading state to the chatbot while lambdas is in startup? Also, one a day at 17:00 (GMT +3) Lambda starts working incorrectly. For instance, it can stop work at all or ignore data from client.

Tim
已提问 5 个月前159 查看次数
1 回答
0

You are likely experiencing cold starts on your Lambda functions and perhaps on your bot. You can use provisioned concurrency on the functions, or set up an event (EventBridge ) to call them at regular intervals). The Lex bot can also experience a cold start. Similarly you can ping it with a Lex API call every few hours to keep it warm.

profile pictureAWS
已回答 5 个月前
profile picture
专家
已审核 5 个月前
  • But what about the second issue? This behaviour bit weird.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容