Sorry about lack of updates on this site. This is something that I’ve done last week — trying out CacheFly, the Content Delivery Network, to host some of my static files.
What is Content Delivery Network, and Why?
This technique has actually been used by the “big guys” for a long time, and the most well known CDN provider, Akamai, is certainly marketed for those big guys — to a point that I cannot even find the pricing table without needing to contact the sales.
Sorry about the long introduction, but that’s where CacheFly comes in — a global CDN service that actually has a pricing plan for the small guys like me, who only needs around 50GB/month for JS files and small images/icons. They too are anycast-based CDN (
*.cachefly.net all seems to resolve to
18.104.22.168 at the moment). They have servers around the planet. They have a plans table that makes sense and without me jumping through hoops to get it. Moreover their 30 days free trial seems to have a rolling date…
Free trial is actually very useful, as it lets me to try out their technology to evaluate whether it is actually useful for my websites, before I commit to using it. I used this opportunity to test out static file serving for one of my sites moved from Australia to US. That site has 90% Australian visitors (70+% from Australia East Coast) and some Asian traffic. Serving everything from US certainly makes it a bit slower (relating to Australia-based sites) so I think it would be a good site to test out whether CacheFly’s CDN can fit the bill, especially when they have a node in Western Australia peered with WAIX.
And it turns out that it is actually not that good for my case. Thanks to the free trial I can test out the technology without paying a cent (except for time spent setting it up).
Before I talked about what is not working for me, I’ll say something good about CacheFly first.
- Fast sign on and instant account activation. My account is set up pretty much right after I put in my details. I got a login to their control panel straightaway and got the credential to upload files via FTP.
- Fast file mirroring. I used weex to upload my files to CacheFly, as it does has rsync-like checking against your local versions to ensure two are in sync. File mirroring occurs when you log off from FTP, and it gets onto my local mirror pretty quickly from what I can tell.
- It works! No false advertisement here. After my files are mirrored, they can be downloaded pretty quickly around the globe.
If you have world-wide audience for your website, and you want to improve the static file serving performance, then CacheFly is indeed a good choice on a budget. But…
What’s Not So Good for Me
It turns out that CacheFly actually does not really work for my particular site, where 65-70% of visitors are from eastern states in Australia.
There is no point of presence in Australia east coast, despite the populate here is much greater than west coast. Well, they do have a presence in west coast, peering with WAIX. So I guess 55ms from Sydney to Perth is not too bad, compare to 155ms to LAX.
Wrong. Instead of using the CacheFly POP in Perth (which I think is only available with ISP peered with WAIX), all Eastern states have their traffic routed to Tokyo Japan! All right. It is not that bad — only 115ms return trip time there, but the benefit of CDN certainly does not look as good as it would have been.
Anycast does not always work. CacheFly’s trademarked BestHop is supposed to find the best POP. However, networking is a complicated thing, and finding the best POP for all visitors is definitely not trivial.
Picking Japan over LAX is already an interesting decision, as historically Australia does not have very good pipe connecting to Asia. At least when it gets right, it appears to be faster than from LAX. However when tested from an alternate location in Sydney, traceroute to Tokyo actually route through Palo Alto resulting return trip time at the range of 270ms — it would be much faster by going to LAX directly!
No rsync/sftp access in low-end plan. The $15/month Basic Plan only comes with FTP access, which should not be used for file transport in the first place. It does offer rsync/scp/sftp access in Plus and Premium plans, but there is a big pricing gap between Basic and Plus. As I am going to use around 40-50GB/month, there is no point for me to commit to a plan that gives me 267GB/month just for its scp/sftp access.
Another “service is good, but does not work for me” story on HostingFu…
I actually do not know whether there’s any CDN service provider that has good plans for us small fries that also has good POP in Australia, otherwise I will be very interested in testing out.