Get FREE Entertainment and Fun Updates From PutIdea Share Blogs Around The World

*Ads
  • Latest News

    Friday, July 24, 2020

    Using CloudFlare with AWS results in increased latency

    Setup

    Our infrastucture is deployed in AWS us-east-1 region. Elastic Load Balancer (ELB) is used for API endpoints. CNAME records were created in CloudFlare DNS to point to ELB instance.

    Test

    We used Datadog Synthetic Monitoring to test our endpoints. Synthetics Monitoring hits an endpoint periodically from around the world. We started getting a lot of alerts from Synthetic Monitoring due to DNS timeouts (which defaults to 2s in Synthetic Monitoring). After dashboarding the DNS timing for the Synthetic Monitoring requests, we noticed that avg DNS resolution time was indeed pretty spikey. We then decided to move our DNS to AWS Route 53. This seems to have reduced DNS resolution times significantly and also ended the constant alerts we were getting from Synthetic Monitoring due to DNS timeout.

    While Datadog Synthetic Monitoring does seem to use AWS itself for for pinging the endpoints, we didn't expect the DNS timing change to be so dramatic.

    After a few weeks of staying on Route 53, we decided to again check if Cloudflare still had the DNS issues or if that was a one time thing. So we moved our DNS back to Cloudflare from Route53. Unfortunately, the spikes in the graph returned.

    Conclusion

    Given the above results, Cloudflare doesn't seem like a feasible DNS solution when using AWS for your infrastructure. It greatly increases DNS resolution latency compared to AWS Route 53.

    No comments:

    Post a Comment

    About

    EveryTime! - A blog about fun, humor, and entertainment: EveryTime!

    A Blog About Fun and Entertainment Articles around the World.
    Any complaints and suggestion ,Please contact Us.

    Abuse policy

    Every PutIdea.info customer agrees to comply with our all the terms and conditions listed on our terms and conditions of www.putidea.info .

    We take the enforcement of all terms and conditions seriously, and we aim to run a clean network which operates on fair principles. We also investigate all reports of abuse.

    If you encounter something you think might constitute abuse (for example, spam or inappropriate content) which you believe has come from our network or systems, please read through the information on this page carefully. It explains how you can report it.

    What is abuse?

    This policy covers the following types of abuse on the internet:

    • Spam
    • Hacking attempts
    • IRC activity
    • Phishing
    • Web space abuse

    We work to minimise the amount of abuse that is generated on our servers. You can help us by reporting any abuse you spot which you believe has come from the PutIdea network.

    Please report all abuse by emailing us at hosting@putidea.info Please include as much information as you can about the type of abuse you've encountered. Please also provide log files (if applicable), URLs for site abuse and email headers for spamming.

    Once we've received your email, we'll investigate the issue thoroughly, contact any relevant customers and work to resolve the issue as quickly as possible.

    Cricket

    Portraits

    Recent Comments

    Powered By PutIdea