Why does my AWS Lambda function, triggered by an Event Bridge scheduler at 9:15 AM daily, consistently start processing 43 seconds late, despite similar functions executing almost instantly?

0

I have implemented a trading algorithm using an AWS Lambda function triggered by an Event Bridge scheduler set for 9:15 AM daily. Despite setting the cronjob to initiate the Lambda function at the specified time, there is a consistent delay of 43 seconds before the Lambda function begins processing the request. I've reviewed the Cloud Watch logs to verify this delay. Notably, I have other Lambda functions designed similarly with the same event scheduler that execute almost instantaneously. Additionally, my Lambda function relies on data from an RDS instance (if this info is relevant). I am seeking assistance to identify the possible causes of this delay and guidance on resolving this issue to ensure timely execution of my trading algorithm.

1개 답변
3
수락된 답변

Hi,

According to the AWS documentation, EventBridge Scheduler does not provide second accuracy, it invoke their targets with 60 second precision, so I would say it's normal.

profile picture
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전
  • Thankyou sir, but why isn't the same for the other two lambda function I'm running. Is there any way I can increase the speed.

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

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

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

관련 콘텐츠