<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mrz&#039;s noise &#187; China</title>
	<atom:link href="http://blog.mozilla.com/mrz/category/china/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.com/mrz</link>
	<description>noise from a mozilla IT/Operations wrangler</description>
	<lastBuildDate>Tue, 09 Feb 2010 04:41:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hello China, part III.</title>
		<link>http://blog.mozilla.com/mrz/2008/03/10/hello-china-part-iii/</link>
		<comments>http://blog.mozilla.com/mrz/2008/03/10/hello-china-part-iii/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 17:27:16 +0000</pubDate>
		<dc:creator>mrz</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[load balancing]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[citrix]]></category>
		<category><![CDATA[netscaler]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/mrz/2008/03/10/hello-china-part-iii./</guid>
		<description><![CDATA[We&#8217;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&#8217;s dynamic GSLB would work.  I didn&#8217;t want users being sent to this data center who should really goto San Jose [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been <a href="http://blog.mozilla.com/mrz/2008/02/13/hello-china-part-ii./">pushing production traffic</a> 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&#8217;s dynamic GSLB would work.  I didn&#8217;t want users being sent to this data center who should really goto San Jose or Amsterdam.</p>
<p>To check this I ran two weeks&#8217; worth of web server logs through <a href="http://awstats.sourceforge.net/">awstats</a> with the geoip plugin.  From this, I&#8217;ve learned the following:</p>
<ol>
<li>I was wrong.  In <a href="http://blog.mozilla.com/mrz/2008/01/24/china-amsterdam-san-jose-and-global-load-balancing/">this post</a> I said that &#8220;connectivity to mainland China can often be congested and can induce a lot of latency.&#8221;  Round-trip times between San Jose and China are only 30ms more than they are to Amsterdam (195ms vs. 166ms).  I don&#8217;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.</li>
<li>We&#8217;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&#8217;re doing it remarkably well (even <a href="http://www.gomez.com/">Gomez</a> says so)!  I&#8217;ve even received emails from folks in that region wondering why <a href="http://www.mozilla.com/">www.mozilla.com</a> is so much quicker/closer than any of Mozilla&#8217;s other web properties.</li>
</ol>
<p>Looking at those log hits through <a href="http://awstats.sourceforge.net/">awstats</a> and pushing those results into <a href="http://www.apple.com/iwork/numbers/">Numbers</a> gets me this:</p>
<p align="center"><img src="http://blog.mozilla.com/mrz/files/2008/03/china-gslb-pie.png" alt="China Traffic Distribution" /></p>
<p align="left"><span>(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&#8217;t automatically resolve to a country.)</span></p>
<p>Since the color seperation might be hard to read, the raw numbers are here.</p>
<table border="1" cellspacing="0" align="center">
<tbody>
<tr>
<th align="center">Country</th>
<th>Hits</th>
</tr>
<tr>
<td>China</td>
<td align="right">48,224,530</td>
</tr>
<tr>
<td>Other</td>
<td align="right">25,899,447</td>
</tr>
<tr>
<td>Japan</td>
<td align="right">10,733,590</td>
</tr>
<tr>
<td>Malaysia</td>
<td align="right">8,623,076</td>
</tr>
<tr>
<td>USA</td>
<td align="right">6,457,133</td>
</tr>
<tr>
<td>India</td>
<td align="right">6,259,568</td>
</tr>
<tr>
<td>Taiwan</td>
<td align="right">5,546,381</td>
</tr>
<tr>
<td>Vietnam</td>
<td align="right">5,504,547</td>
</tr>
<tr>
<td>Philippines</td>
<td align="right">4,613,708</td>
</tr>
<tr>
<td>Hong Kong</td>
<td align="right">4,107,188</td>
</tr>
<tr>
<td>Austria</td>
<td align="right">2,664,964</td>
</tr>
</tbody>
</table>
<p>I&#8217;m generally very happy with these results.  In the next few weeks we should be adding <a href="http://addons.mozilla.org/">addons.mozilla.org</a> and spinning up our geo-dns setup to start pushing <a href="http://releases.mozilla.org/">releases.mozilla.org</a> out of China too.  Stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/mrz/2008/03/10/hello-china-part-iii/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Hello China, part II.</title>
		<link>http://blog.mozilla.com/mrz/2008/02/13/hello-china-part-ii/</link>
		<comments>http://blog.mozilla.com/mrz/2008/02/13/hello-china-part-ii/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 23:22:11 +0000</pubDate>
		<dc:creator>mrz</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[Mozilla]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/mrz/2008/02/13/hello-china-part-ii./</guid>
		<description><![CDATA[Just a quick followup to Monday&#8217;s blog and yesterday&#8217;s change.   To recap, during Tuesday&#8217;s maintenance window I added the China data center into GSLB for www.mozilla.com.
Even to the untrained eye it&#8217;s pretty obvious when I made the change!

As I mentioned before, if you inadvertantly find yourself hitting the China data center, please file a [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick followup to <a href="http://blog.mozilla.com/mrz/2008/02/11/hello-china./">Monday&#8217;s blog</a> and yesterday&#8217;s change.   To recap, during Tuesday&#8217;s maintenance window I added the China data center into GSLB for <a href="http://www.mozilla.com/">www.mozilla.com</a>.</p>
<p>Even to the untrained eye it&#8217;s pretty obvious when I made the change!</p>
<p><img src="http://blog.mozilla.com/mrz/files/2008/02/china-mozcom-d1.png" alt="www.mozilla.com - China" /></p>
<p>As I mentioned before, if you inadvertantly find yourself hitting the China data center, please <a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&amp;format=itrequest">file a bug</a> so we can investigate.</p>
<p>Otherwise, I&#8217;m hoping there are a lot of happy Chinese users!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/mrz/2008/02/13/hello-china-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello China.</title>
		<link>http://blog.mozilla.com/mrz/2008/02/11/hello-china/</link>
		<comments>http://blog.mozilla.com/mrz/2008/02/11/hello-china/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 19:55:34 +0000</pubDate>
		<dc:creator>mrz</dc:creator>
				<category><![CDATA[China]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[load balancing]]></category>

		<guid isPermaLink="false">http://blog.mozilla.com/mrz/2008/02/11/hello-china./</guid>
		<description><![CDATA[Over the past year we&#8217;ve talked about our market share in China  (since last April anyways).  Li Gong joined Mozilla and in June we had an office.  In August I was in China with Justin to setup office infrastructure (phones, vpn)  and shop for data center space.
In December I was back [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past year we&#8217;ve talked about our <a href="http://john.jubjubs.net/2007/11/27/mozilla-firefox-market-share/">market share</a> in China  (since last <a href="http://weblogs.mozillazine.org/mitchell/archives/2007/04/ever_more_global.html">April</a> anyways).  <a href="http://blog.mozilla.com/ligong/">Li Gong</a> joined Mozilla and in June we had an <a href="http://blog.mozilla.com/ligong/2007/06/30/beijing-office-open-for-business/">office</a>.  In <a href="http://blog.mozilla.com/mrz/2007/08/26/china-day-one/">August </a>I was in China with Justin to setup office infrastructure (phones, vpn)  and shop for data center space.</p>
<p>In <a href="http://blog.mozilla.com/mrz/2007/12/12/china-datacenter-by-the-wall-clock-numbers/">December</a> I was back in China to install and deploy that data center and promised that &#8220;in the next several weeks  we’ll be pulling up Mozilla websites in China.&#8221;</p>
<p>This past week[<a href="http://blog.mozilla.com/mrz/2008/02/11/hello-china./#1">1</a>] we did two important things for our Chinese users -</p>
<ol>
<li>Integrated <a href="http://www.mozillaonline.com">www.mozillaonline.com</a> into our svn repo and pushed out its content to all static web clusters in Amsterdam, San Jose and China (it used to be hosted off a fileserver in the China office!).  This site&#8217;s currently served out of San Jose and China.</li>
<li>Setup a mirror of <a href="http://releases.mozilla.org">releases.mozilla.org</a> in China.  This is currently known as <a href="http://releases.mozillaonline.com">releases.mozillaonline.com</a> (until we get a more geo-aware DNS solution in place for <a href="http://releases.mozilla.org">releases.mozilla.org</a> you&#8217;ll have to use that address).</li>
</ol>
<p>This week we&#8217;ll  make another important change.</p>
<p>During Tuesday night&#8217;s maintenance window (02/12 @ 8pm Pacific) I&#8217;ll be adding the China datacenter into <a href="http://www.mozilla.com">www.mozilla.com</a>&#8217;s global load balancing (which I talked about <a href="http://blog.mozilla.com/mrz/2008/01/24/china-amsterdam-san-jose-and-global-load-balancing/">here</a>).  As I mentioned in my last post, we&#8217;ll also be watching the server logs to make sure GSLB isn&#8217;t sending users outside of China to China when they&#8217;d be better served out of San Jose or Amsterdam.  If you find yourself in this category, please let me know (email or file a <a title="Bugzilla" href="https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&amp;format=itrequest" target="_blank">bug</a>).</p>
<p>All of this effort has been to get content as close as possible to users.  From my two trips to China I know getting to Mozilla content is often painfully slow, reminiscent of my pre-ISDN days.  Updating Minefield nightlies every morning was often a couple hour process!</p>
<p align="left"><a title="1" name="1"></a><span>[1] I started this post with the intention of posting it January 28th but got side tracked when the host that holds all web content (before pushing out to the web servers) and all of the <a href="http://releases.mozilla.org">releases.mozilla.org</a> mirror content lost it&#8217;s storage shelf, halting all of these plans. Because of <a href="http://www.msnbc.msn.com/id/22882150/">this storm</a> it took longer than usual to get resolved.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mozilla.com/mrz/2008/02/11/hello-china/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
