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.

Bugra
已提問 5 個月前檢視次數 226 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南