High Latency in Across EC2 Regions

0

Hello, we have an EC2 Instance running at us-east-2 Ohio. While we are having low latency & fast page loading in US,EU, Middle East etc. we are having high latency, high loading time results in Philippines and general Pasific-Asia Regions which we are trying to solve. Any suggestions for troubleshooting? We have multiple web apps in just one capable instance.

1개 답변
0

Hi Bugra,

The resolution depends if you are accelerating your webpage through CloudFront or AWS Global Accelerator, or not.

As a best practice, you would leverage CloudFront to cache your static webpages, providing access to your static contents to everyone around the globe with usually less than 50ms (varies per geographies). That only helps you with static content tho (HTML, CSS, IMG, Videos, etc) which is what you usually measure when we talk about the "page load" time.

For dynamic content, you can also leverage CloudFront or AWS Global Accelerator, which will remove some uncertainty from global routing, as the traffic will get routed to the closest edge location, then AWS will route it through it's backbone to your target instance.

These strategies satisfy the majority of websites to provide the performance needed to their users across the globe (With some help of frontend strategies to minimize the user experience degradation with the dynamic latency, like loading bars and such). If you need < 100ms responses for dynamic content across the globe, that's possible but expensive and technically complex, as you will need to leverage a multi-region approach.

So my advice in a nutshell, accelerate your website with CloudFront, be smart about leveraging it's cache with the proper headers/suffixes, and implement front-end techniques to minimize dynamic latency impact in user experience.

AWS
답변함 5달 전
profile picture
전문가
검토됨 4달 전
profile pictureAWS
전문가
검토됨 5달 전

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

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

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

관련 콘텐츠