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ヶ月前167ビュー
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.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ