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
asked 5 months ago151 views
1 Answer
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
answered 5 months ago
profile picture
EXPERT
reviewed 5 months ago
  • But what about the second issue? This behaviour bit weird.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions