aws-appsync-community icon indicating copy to clipboard operation
aws-appsync-community copied to clipboard

Global latency with AWS CloudFront and AWS AppSync

Open shubhamNagarro2502 opened this issue 2 years ago • 2 comments

ISSUE - Global latency with AWS Cloudfront and AWS AppSync whereas AWS Gatway (edge optimized) with AWS AppSync showing better results (low latency)

I tried multiple POC with AWS AppSync.

POC 1 - High TTFB with ASIA region without AWS Cloudfront Detail - AWS AppSync deployed in us-east-1 region Screenshot - image

POC 2 - High TTFB with ASIA region with AWS CloudFront Detail - AWS AppSync deployed in us-east-1 region, used AWS CloudFront to solve global distribution/persistent connection for faster connections and data compression Result - 10% improvement in latency but no data-compression got Screenshot - image

POC 3 - Low TTFB in ASIA region with AWS Gatway (edge optimized) with AWS AppSync Detail - AWS Gateway deployed in us-east-1 region with edge-optimized which internally uses AWS CloudFront for persistent connection Result - 30% improvement in latency with data compression image

shubhamNagarro2502 avatar Feb 18 '22 09:02 shubhamNagarro2502

@shubhamNagarro2502 what tool did you use for measuring?

NevRA avatar Aug 21 '22 19:08 NevRA

@shubhamNagarro2502 what tool did you use for measuring?

This is place where the tests were performed https://speedvitals.com/ttfb-test

shubhamNagarro2502 avatar Aug 22 '22 05:08 shubhamNagarro2502

Hello, thank you for the feedback. At this point there is no action that we can take on this information. I will be closing this issue, but please let us know if you facing any other issues.

onlybakam avatar Dec 13 '23 23:12 onlybakam