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:
- 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.
- 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:

(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.

Comments (4)
Are you sure that Austria has a 5% share of your China traffic? Wouldn’t that be Australia?
@arthur: I agree but that’s what awstats says.
Strange. Here Awstats correctly counts .at as Austria and .au as Australia. Could also be some strange routing from an Austrian provider.
Try a traceroute from Austria to www.mozilla.com — packets take the scenic route to China…
http://kmu.telekom.at/kundenbereich/Internettools/Traceroute.php