EC2 suddenly became very slow

0

Hi, I'm using EC2 (t2.micro free tier) for my final year project. When I kept generating data and testing the query rate for my database, it suddenly became very slow and the query rate dropped from 1.46 queries/sec to 0.41 queries/sec, while I never changed my database. Firstly I thought it may be due to the CPU credits, but it was still slow after I earned 120 credits. How to solve this problem? Thanks!

질문됨 일 년 전238회 조회
1개 답변
0

t2.micro are small instances with 1 vCPUs and 1 RAM (GiB) and baseline performance is 10% of this vCPU. You may want to look at your cloudwatch logs or your custom logs to see where the utilization is happening. You can perhaps try t2 unlimited or t3 instances.

profile pictureAWS
전문가
답변함 일 년 전
  • Thanks! Each time I conducted the test, the CPU utilisation was over 90%. However, earlier it performed much better even with high CPU utilisation (nothing changed and I just ran the same script again). For some query types, the rate even dropped from 37.56 queries/sec to 3.57 queries/sec. Why is it the case?

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

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

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

관련 콘텐츠