aws-appsync-community
aws-appsync-community copied to clipboard
Global latency with AWS CloudFront and AWS AppSync
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 -
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 -
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
@shubhamNagarro2502 what tool did you use for measuring?
@shubhamNagarro2502 what tool did you use for measuring?
This is place where the tests were performed https://speedvitals.com/ttfb-test
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.