Want more timely Centmin Mod News Updates?
Become a Member

CDN DNS CDNs and DNS performance ?

Discussion in 'Domains, DNS, Email & SSL Certificates' started by RB1, Jan 17, 2017.

  1. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    How are you liking Route 53 for centminmod.com?
    I'm currently using Rackspace Cloud DNS but it seems like Amazon Route 53 has a lot more locations to reduce latency.

    On my new server I plan on getting paid traffic from all over the world (specifically on mobile devices with perhaps not the best connection speeds). Would Route 53 DNS with the Latency Routing Policy be my best bet?


    Also I'm in the market for a CDN when I start launching some new websites. I currently have the Amazon Cloudfront Free Tier for 6 more months. Should I stick with Amazon? Rackspace Cloud CDN also looks appealing. Any quick tips about how to benchmark the two for the lowest possible latency and speed/availability?

    Edit: Sorry, this should probably be its own thread... :)
     
    Last edited: Jan 17, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    30,160
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    8:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah Amazon Route53 has been fast for me testing via TurboBytes Pulse: global DNS, HTTP and Traceroute testing.

    only if you have backend servers with replicated/distributed same content from around the world too

    Amazon Cloudfront right :) Both Amazon Cloudfront and Rackspace Cloud CDN are too expensive bandwidth wise if your site get's more traffic. You're better to look at KeyCDN or if you can use Cloudflare.

    Some tests https://community.centminmod.com/threads/keycdn-vs-cloudflare-cdn.6292/

    and Web Performance Test - 14+ Global Test Locations
     
  3. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    Cool I will check that out.
    Here's one of my websites using Rackspace Cloud DNS (free). Server is located in Dallas, TX:

    TurboBytes Test:
    [​IMG]

    Yes...I meant Cloudfront. I looked at KeyCDN but it looks like there's a minimum usage of $49/yr. That pricing works out to be ~100GB/mo at ~$4/mo I don't think I need that much for now and will be overpaying. Cloudflare looks amazing but how can they offer all that for free :\

    Another test of a static asset on my site using KeyCDN Web Performance Test:
    chrome_2017-01-16_17-21-31.png

    Luckily for me I can host a lot of my websites purely on a CDN because it's only static assets. The problem is that I have a server in front of all these sites that is hosting software that redirects users to the sites hosted on the CDN. I guess I will need to figure how to reduce the latency to this server specifically from locations all over the world.
     
    • Informative Informative x 1
  4. JarylW

    JarylW Active Member

    213
    39
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +99
    Local Time:
    6:35 PM
    Cloudflare page rules?

    But your screenshot timings don't match the performance of a CDN. Looks like the asset you tested is from the origin server only. Honestly cloudflare is not that different performance-wise than keycdn. This is using keycdn's own tool.

    P.S. right column should be keycdn. photoshop mistake.
    test.jpg
     
    Last edited: Jan 20, 2017
    • Informative Informative x 1
  5. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    Yes, the performance test I posted was for my VPS not serving any content from a CDN.
    I'm not worried about the webpages my visitors will land on (at the end of the redirect path) because they are hosted 100% on a CDN, however, the visitor will need to initially connect to my VPS in order to be redirected. I'm worried about the latency to this server. I cannot use use a CDN for this one
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,160
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    8:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    can't you also use cloudflare in front of the software that redirects users too ?

    cloudflare > software redirect > cdn static assets
     
  7. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    Yes but it would be purely for Cloudflare DNS because nothing in the 1st server/domain is cached.
    Excuse me if I don't understand the fundamental workings of a DNS service, but if my server is located in the Southern US and the visitor is in Vietnam, Cloudflare DNS will improve lookup time, but latency/connection time/speed is still impacted negatively?
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,160
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    8:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Informative Informative x 1
  9. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    Thanks, reading through all that!
    Hmm...on their IPv6 Ping Tool I'm getting "na ms" on all datacenters except Dallas (that is actually where my server is located...
    On IPv4 I get "na ms" on around 5 datacenters.
    I don't get any errors pinging google.com on IPv4 or IPv6 and centminmod.com so it's definitely not their servers.

    I think maybe my firewall is messed up or I misconfigured something :sick:


    Disabling firewall with "csf -x" and re-running the test produced the same results.
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,160
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    8:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    maybe you tested too many times and CSF on your server blocked keycdn's servers ? CSF firewall by default rate limits ping requests to centmin mod servers to prevent too many pings simultaneously
     
  11. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    But even with CSF disabled?
     
  12. eva2000

    eva2000 Administrator Staff Member

    30,160
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    8:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    probably not. Try other web site ping tools and see
     
  13. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    Looks good on Free online ping test traceroute from multiple locations worldwide with no packet loss although some locations seem to be down.
    Everything good on Site24x7 - Website Monitoring Tools as well.

    OK I was probably getting the errors on the KeyCDN Ping Tool because I didn't restart nginx after disabling csf :banghead:
    Also with csf re-enabled I'm getting just a couple errors on the other ping tools that were previously showing no problems.

    Should this be something to worry about? You don't want real visitors to be firewalled unless they are doing something REALLY malicious. I'm using the default csf settings apart from unblocking IPv6
     
  14. eva2000

    eva2000 Administrator Staff Member

    30,160
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    8:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    ping and visitor traffic is different from CSF view point, blocking or rate limited pings won't affect visitors
     
    • Like Like x 1
  15. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    Rackspace CDN is looking very decent so far :)
    Faster than KeyCDN from a couple tests so far.

    I'm trying to figure out how to setup a pull zone that adds the PageSpeed optimized assets to the CDN :banghead:
     
    • Like Like x 1
  16. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    Looks like there's some limitation with the CNAMEs/DNS records and you cannot serve the non-www version of your site with pull CDN access.

    Do many other CDNs have the same limitations? I believe Amazon has the same problem
     
  17. eva2000

    eva2000 Administrator Staff Member

    30,160
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    8:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    yup.. all have that limit except Cloudflare
     
  18. inthecloudblog

    inthecloudblog Active Member

    178
    33
    28
    Jan 26, 2016
    Ratings:
    +74
    Local Time:
    7:35 AM
    1.4.6
    Guys has someone ever heard of CDNetworks?
     
  19. RB1

    RB1 Active Member

    281
    72
    28
    Nov 11, 2016
    California
    Ratings:
    +119
    Local Time:
    3:35 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    No I haven't...are you looking to signup or are you already using it?

    I've only tried Cloudfront, KeyCDN, Rackspace CDN (uses Akamai), and Cloudflare.
    While I ran some tests, I wouldn't really call my data accurate. Running random site load benchmarks from gtmetrix/webpage test/keycdn tools provided very inconsistent results. One CDN is very fast in some countries but slow in others. It was too hard to see the bigger picture.

    I wish there was a site that you could compare X number of domains across multiple countries on every continent for your full website (not just 1 asset).

    If you are interested in any of the above CDNs, use eva2000's referral link, as it supports development of Centminmod and hosting of this forum :)
     
    • Like Like x 1
  20. inthecloudblog

    inthecloudblog Active Member

    178
    33
    28
    Jan 26, 2016
    Ratings:
    +74
    Local Time:
    7:35 AM
    1.4.6
    I'm just asking them questions about their POP in Argentina.
    So far they don't seem to know much. Also they called me at 8 PM without telling me they would call.



    not the bolded test but maybe this helps mtr.sh


    Sure thing.