Blog / Chinafy vs Alibaba, AWS, Cloudflare, Akamai, and more...

Chinafy vs Alibaba, AWS, Cloudflare, Akamai, and more...

A common question we get is, "Chinafy or CDN?" The short answer of which is: "Chinafy optimises both code and infrastructure. CDNs don't consider code incompatibilities, and only a few, when tuned, are actually fast in China". 

With this in mind, how fast is Chinafy's CDN, really

Methodology: We took images stored on various CDNs between 70-80kB in size, and loaded them every 5 minutes for a duration of 48 hours, from 9 different locations in China. We then split the data points into their various components, e.g. DNS, TCP, SSL, Response Time, and Loading Time. For this article, we're focus on Response and Loading Time respectively. 

Here's the result. 

Response Time

In this article, we compare Chinafy's CDN solution (absent any code customisations or modifications) vs a number of others you may consider. 

The first image represents the waiting time taking 2-period averages. If we used a single period, the chart would look completely nonsensical, whereas in this case, it's surely only somewhat nonsensical. 

Waiting Time in milliseconds (results averaged over 2 periods)

We then start to smooth the data over longer periods to see if there are not only any trends, but to help us delineate which data belongs to which CDN. We decided on a 20-period smoothing in the following chart. 

Waiting Time in milliseconds (results averaged over 20 periods)

Finally, you can see that while our CDN remains relatively consistent throughout the day (it actually oscillates, but to a lesser extent than the others), there are clear times when latency drops -- basically, in the middle of the night. During these times, we can see that Microsoft's Azure CDN is pretty fast albeit nobody is really browsing the net at those times. 

We present the data now in a bar chart to give a better sense of performance from one CDN to the other. Here, you can see that Chinafy's response time is roughly 50ms whereas the others exhibit quite extreme variability. 

Waiting Time (in milliseconds)

To summarize the Waiting Time, we present a table showing the times at various percentile thresholds showing that Chinafy exhibits the fastest response times, with an P(95) upper bound of approx 52 ms.  

While 10...20...or even 100ms may be tolerable for some applications, we now look at the frequency of results beyond a maximum threshold. For example, I may not need a waiting time of 50ms, but I simply cannot afford one above 500ms. 

The following table breaks this down, where surprisingly most CDNs have significant response times greater than 500ms 10-20% of the time, with both Azure and Alibaba having 10% of response times greater than 1 second! 

Response Times beyond a Threshold

This isn't the end of the story - we now look at times when there was no response at all, and we can see that in addition to Alibaba having 10% of response times over 1 second, 10% of the time there's also no response at all. 

Throughput

We move the discussion now to bandwidth and throughput - that is, once we've received a response from the CDN, how fast does the file transfer in kbps (bits, not bytes). 

Bandwidth (in kbps averaged over 20-periods)

You can see that again, Chinafy is consistent throughput the day although it does experience small swings from time-to-time. Comparing results in a bar chart, we can see that Chinafy is anywhere from 4-20x faster than the other CDNs. 

Bandwidth (kbps)

Summarising the results, we can see that Chinafy's CDN is reliable and consistent with both Fastly and Alibaba still exhibiting good ol' dial-up or ISDN-like throughput. 

kilo 'bits' per second, to switch to kilo 'bytes', simply divide by 8

To put some context to the above numbers, we consider finally the bit-rates required for streaming video: 

With these desired bitrates in mind, Chinafy can comfortably stream 720p @ 60fps, or 1080p at 30fps, whereas you'd be lucky to get 360p with the others. 

Wrapping Up

Chinafy implements a multi-CDN strategy, which uses generally the fastest CDN, at a given point in time for a given region in China – and it does this within an offshore context. Hosting in China is at your option.

While in testing, we were using files available publicly on other CDNs, we checked for cache settings to ensure files were retrieved from the CDN PoPs and not the origin. Reaching out to some CDNs, we found many offered some type of 'premium' content delivery - the speeds of which we're guessing still vary widely, however these came with 'premium' monthly commitments, and price points starting from $1,000 to $5,000 per month. 

As we optimise multiple sites, we're able to buy bandwidth on a wholesale basis, but most businesses can't. On top of this, you need to know which CDNs perform better in which regions, and at what time of day. It's a nightmare to figure out (but has been super fun to for us data geeks) and requires a number of custom-made testing tools. 

Read more about Chinafy vs CDNs.

Actionable

Interested in accelerating your site? Or have questions on the above analysis?
Reach out to Chinafy Support and we'll be happy to help. 

Don't get left behind.
Optimize your website for the world's fastest-growing consumer market. Start today, cancel anytime.
Make your website work in China
Enter in a few details and one of our Chinafy team members will reach out to you shortly with a plan and next steps to 'Go Live' in China.
Which website do you want to Chinafy?
Tell us your name?
What best describes your company role?
What's your Work Email Address?
What would you like to discuss?
Have a discount code?
By clicking 'Get Started', I also agree to Chinafy's Terms of Service & Privacy Policy.
close
Thanks for getting in touch!
One of our China experts will be in touch with you via email within the next 24 hours with

1 - Expected post-Chinafy results
2 - Your Custom Plan
3 - Next steps.

P.S. Make sure to check your promotions inbox in case our message lands there.
Please feel free to check out our case studies or blog in the meantime.
[[embed: get started form inline type]]

Related Stories

Load More
×

Notey will use the information you provide on this form to be in touch with you and to provide updates and marketing. Please let us know all the ways you would like to hear from us:

You can change your mind at any time by clicking the unsubscribe link in the footer of any email you receive from us, or by contacting us at community@notey.com. We will treat your information with respect. For more information about our privacy practices please visit our website. By clicking below, you agree that we may process your information in accordance with these terms.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.