Home › Forums › AWS › AWS Certified Solutions Architect Professional › content delivery slow; DB issue? › Reply To: content delivery slow; DB issue?
-
Hi Robert,
Thanks for sharing your feedback.
I understand that the CloudFront can serve dynamic content possibly improve latency performance by caching user requests. However the statement “Migrate the entire portal to an S3 bucket and then enable static web hosting”, makes the option incorrect. Since the website allows users to upload articles, this is a dynamic website. Also, the question asks about “quickly and cost-effectively re-architect” – the re-architecting of the whole website to run on S3 will be a big task.
“I didn’t read out of the scenario that the DB is the (potential) culprit of slow page load time!”
Yes, usually for AWS exam-type questions, they want to you use AWS services. So when a question with on-premises setup (like a database) coupled with AWS Service (AWS EC2) you should consider that for every request to the EC2, it contacts the on-premise database server which is far away, physically. Even with VPN or DirectConnect, the latency for this setup is higher than using normal RDS in AWS.
To improve the latency and performance of each request, it would be better to have a caching mechanism in AWS (like Elasticache Redis), so that the EC2 instances can quickly fetch data from that cache and serve content quickly to the users.
Hope this helps.
Regards,
Kenneth Samonte @ Tutorials Dojo
-
This reply was modified 4 years, 8 months ago by
TutorialsDojo-Support.
-
This reply was modified 4 years, 8 months ago by