Amazon RDS MySQL instance performs very slow

前端 未结 7 1572
轻奢々
轻奢々 2021-01-31 17:58

I have published my website on Amazon EC2 (Singapore region) and I have used MySQL RDS instance for the data storage. Everything is working very fine except performance.

7条回答
  •  野的像风
    2021-01-31 18:08

    It is important to have your RDS and EC2 instances not just in the same region but also in the same availability zone to minimize the latency.

    I had an API hosted in Ireland on EC2 and moved the Database to a MySQL cluster in Virginia USA that we had set up for another project and the round trip on every SQL query made the API unusable.

提交回复
热议问题