Application Speed

0

We use AWS to store and serve content for our Kurator app. Kurator is a curation tool that stores bookmarks and lets users publish that content via scripts.

I only have a 1000 users, but the loading of the scripts is already slow and takes a few seconds.

I am using EC2. What do I need to do to improve the performance. I did some research and it recommends load-balancing and auto-scaling. Any help and best practices is greatly appreciated. Here is a video presentation of the problem.

https://www.loom.com/share/073967527a87428691bbb1f0f6bf1063

Thanks for your help. Karan

1 回答
0
已接受的回答

Hi!

As a first recommendation try to have your dev an production environment in different AWS accounts. About the slowness itself, you need to understand where is the bottle neck.

  1. Check AWS Compute Optimizer service too check if the instance or the EBS disk need more performance, its free [1].
  2. Enable detailed monitoring for your prod instance [2]
  3. Try to use disk GP3 in case you are using GP2
  4. Depending on your architecture try to use Amazon Cloudfront as a CDN and to use the amazon network to reach the region.

good luck!

[1] https://aws.amazon.com/compute-optimizer/ [2] https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch-metrics-basic-detailed.html

profile picture
已回答 5 个月前
profile picture
专家
已审核 5 个月前
  • Thank you for your answer.

  • Additionally, add some debug logging into the app to see where the slowdown is. You need to isolate out if its the app itself; database lookup; etc.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则