Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Professional content delivery slow; DB issue?

  • content delivery slow; DB issue?

  • kung

    May 28, 2020 at 9:54 pm

    Scenario: business news portal with on-prem DB scenario, content delivery time/page load time might be slow

    I didn’t read out of the scenario that the DB is the (potential) culprit of slow page load time!

    CloudFront might help, and can also serve dynamic content and you can configure multiple origins with behavior, but this option was marked as incorrect…

    What do you think?

  • TutorialsDojo-Support

    May 31, 2020 at 1:48 pm

    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.


    Kenneth Samonte @ Tutorials Dojo

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018