Algo lags in the noon than in the morning

0

I am running an Algo on EC2 instance machine and its working fine in the morning but as time passes by there is a lag of 10-20sec in order placement.

I am unable to identify the issue. The python file is of only 14KB Kindly guide where is the problem and how to rectify it.

vibhav
已提問 2 年前檢視次數 223 次
1 個回答
1

You don't say what instance type you're using. If you're using a T-series instance you should be aware that the CPU performance consumes "credits" and when they run out the performance may not be appropriate for your application. See our documentation for more information.

How can you fix this? You can use a larger instance type (which has more credits); you can launch the instance in "Unlimited" mode where you will be charged if (and only if) you run out of credits - but performance will not be impacted; or you can use a different instance type.

profile pictureAWS
專家
已回答 2 年前
  • The instance is t2.micro

  • In that case my comments above stand. When performance is "lagging", check the metric for CPU credits.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南