Hello China, part III.

6

We’ve been pushing production traffic out of our China colo for about a month now.  One of my concerns was how well this site would serve our global user base and how well the Netscaler’s dynamic GSLB would work.  I didn’t want users being sent to this data center who should really goto San Jose or Amsterdam.

To check this I ran two weeks’ worth of web server logs through awstats with the geoip plugin.  From this, I’ve learned the following:

  1. I was wrong.  In this post I said that “connectivity to mainland China can often be congested and can induce a lot of latency.”  Round-trip times between San Jose and China are only 30ms more than they are to Amsterdam (195ms vs. 166ms).  I don’t see any of the congestion that I saw from either of the two hotels I stayed or at that I see from the China office.
  2. We’re serving a large portion of the Asia-Pacific region out of our Beijing, China colo. Far more than I think any of us had thought and we’re doing it remarkably well (even Gomez says so)!  I’ve even received emails from folks in that region wondering why www.mozilla.com is so much quicker/closer than any of Mozilla’s other web properties.

Looking at those log hits through awstats and pushing those results into Numbers gets me this:

China Traffic Distribution

(The 5% USA appears to be a combination of errors in the allocation database (IP is registered to a US entity but traceroute shows otherwise) and a few US-based ISPs that, for whatever reason, keep hitting China.  Other is a lot of smaller hits to Asia-Pacific countries and some IP addresses that didn’t automatically resolve to a country.)

Since the color seperation might be hard to read, the raw numbers are here.

Country Hits
China 48,224,530
Other 25,899,447
Japan 10,733,590
Malaysia 8,623,076
USA 6,457,133
India 6,259,568
Taiwan 5,546,381
Vietnam 5,504,547
Philippines 4,613,708
Hong Kong 4,107,188
Austria 2,664,964

I’m generally very happy with these results. In the next few weeks we should be adding addons.mozilla.org and spinning up our geo-dns setup to start pushing releases.mozilla.org out of China too.  Stay tuned.

Tags: , , ,

Categories: load balancing, Mozilla, Networking

6 responses

  1. Arthur wrote on :

    Are you sure that Austria has a 5% share of your China traffic? Wouldn’t that be Australia?

  2. mrz wrote on :

    @arthur: I agree but that’s what awstats says.

  3. Arthur wrote on :

    Strange. Here Awstats correctly counts .at as Austria and .au as Australia. Could also be some strange routing from an Austrian provider.

  4. rwg wrote on :

    Try a traceroute from Austria to http://www.mozilla.com — packets take the scenic route to China…

    http://kmu.telekom.at/kundenbereich/Internettools/Traceroute.php

  5. Razvan wrote on :

    it works pretty well from china (45 ms from guangzhou)… can you tell me what datacenter/hosting you are using? The company i work for is also interested in a china colocation. Thanks!

  6. Chaz6 wrote on :

    What happened to the IPv6 records under mozilla.com and mozilla.org? Perhaps you could get them back in time for the E.U. IPv6-day on May 30th (2008) :-)