Amazon Cloudfront is not fast enough even in Hong Kong - amazon-cloudfront

I know that Amazon Cloudfront will increase downloading speed.
However, it said they have server in Hong Kong,
I compared it with my other local webhosting company,
It still seems that the CloudFront still very slow even the images are load many times.
Is that the Amazon CloudFront Server of Hong Kong is still too slow when compare to the local server in the city?

I uploaded a file to Canada server. Got 290KB/s via cloudfront from HK, vs 190KB/s by direct access canadian server. Sounds good to me actually.

Related

If there some alternatives to CloudFlare proxy for server ip hiding?

i need some alternatives to CloudFlare proxying option for hiding server ip of my domains.
What another servise can do this? Maybe some CloudFront settings or anithing else?
Tnx!
Assuming you want free solutions, here are a few that come to mind.
DDoS-Guard - A lot of sites use this as a Cloudflare proxy alternative, but recently their free plan has popped off their site. It didn't have any strict/hard limits. It may come back, so have put it here if it's temporary.
OVH SSL Gateway - Haven't heard there being any limitations either, this one is open to the public for free. Has 2 proxy locations currently.
G-Core Labs - Up to 1TB bandwidth/month for free, a lot of PoPs.
YAKUCAP - Up to 1TB/month bandwidth free.
Bitmitigate - Up to 100GB+/month website traffic and protected bandwidth, free.
ArvanCloud - Up to 100 GB Traffic/mo, but country availability limited.
Namecheap's FREE CDN - up to 50GB/mo traffic.
Hostry's Global CDN - 39 PoPs, up to 10GB/mo traffic with an overusage charge.
Self-hosted/other solutions that come to mind, if your not a fan of using provided services.
Oracle provides 24GB RAM ARM VPS as part of their free plan, with various limitations (involves network limitations). Could host things using Oracle, as traffic is DDoS protected. Doesn't necessarily hide your IP, but you could use the IP on the VPS to act as a proxy to your actual webserver.
Self-hosted DNS (isn't recommended due to uptime, anycast networks that cover the DNS, etc) - had a brief look, https://github.com/DNSCrypt/dnscrypt-proxy is one option, providing a secure self-hosted DNS. Seems like it's updated recently which may be what people are looking for.

Fastly versus my own hosted Varnish

What are the benefits of using Fastly versus simply having my own self-hosted Varnish? Are there additional benefits and features that Fastly provides that regular Varnish does not, or is it simply that Fastly is managed Varnish in the same way that CloudAMQP is hosted and managed RabbitMQ?
I just stumbled across this question, I know you asked this a while ago but I'm going to try and answer it for you regardless.
You are correct in assuming that Fastly manages the Varnish instances for you, so you don't have to deal with manually managing your servers. It is a slightly different concept than CloudAMQP however; CloudAMQP is a managed RabbitMQ system that lives in a specific datacenter, perhaps with Multi-AZ enabled for failover purposes.
Fastly is a full blown content delivery network which means they have machines running Varnish all over the world which could significantly increase your user's experience because of lower latency. For example if an Australian user visits your website he will be retrieving the cached content via Fastly's Australian machines, whereas if he were to connect to your own Varnish instance he'd probably have to connect to an instance in the U.S. which would introduce a lot more latency. On top of that it wouldn't only improve speed, but also reliability. Your single Varnish instance having a failure is quite likely, Fastly's global network of 1000s of machines running Varnish collapsing is very unlikely.
So to sum it up for you:
Speed
Reliability
Regards,
Rene.

Amazon CloudFront CDN download usage increasing (but not traffic nor requests)

I’m looking for some advice or opinion as I’m not an expert in how Amazon CloudFront works.
I run an origin pull CDN through Amazon CloudFront for a self-hosted WordPress installation. It has been running since August 2012. Works perfectly.
Up until January my bill with Amazon CloudFront was quite constant. I do not host videos (always embedded YouTube but even that is rare). The only “big” files I host on my blog and which are shared through Amazon CloudFront service are occasional 1 or 2MB PDFs.
Since February of March, I’ve seen a significant increase in my Download Usage Report: it went from 10GB/month in January to 47GB/month for April.
However:
1) The number of HTTP request remains about the same: 150,000/month
2) My traffic is constant, did not significantly increased or decreased. It’s also modest: about 10,000 unique visits/month.
I’m wondering what could explain this increase.
Thanks,
P.
It is hard to answer your question without additional information. For starter, I may suggest you to turn on logging for your CloudFront distribution in AWS Console. Please note that although there is no extra charge for enabling access logging, you accrue the usual Amazon S3 charges for storing and accessing the files on Amazon S3 (you can delete them at any time).
CloudFront log file format is described here.
If you really concerned with growing usage, the best way to get insight would be to open new case via AWS Support Center.

How much time CDN takes with new DNS

I'm using Amazom CloudFront as CDN and we may have to change between two systems according to situation.
Here's what I need to be prepared for -
How much time will CDN take to resolve the new address every time (new system, old system)? The same time it takes the domain to propagate?
What about the cache it collected before changing?
I'm reading this article http://docs.amazonwebservices.com/AmazonCloudFront/latest/DeveloperGuide/HowToUpdateDistribution.html
It would be much better if someone shared his/her experience.
When you setup a new container on any CDN you are using their domains which are already propagated across the world. If you plan to use your own domain instead of theirs for example cdn.yourdomain.com or static01.yourdomain.com etc then standard propagate time comes into play.
What your find with CDNs is once you upload your files to the server it takes some times to "Spread" replicate your files on all there networks so for example say their main server is in america those accessing the files from UK will download from America and not a local server until all files have been cloned across their network, it takes from a few mins to a few hours depending on how many files and the sizes, the good thing is everyone can use those files with no delay but for full speed advantage it takes a little time.
As far as Cache its pretty straight forward you set a TTL expire on the containers which means they get cached and so on. Personally I use a 72 hour TTL on mine and is favored by Google and other search engines.
Hope this helps.

Does having a server in another country slows down your website?

I have a server in Texas USA (hostgator), my domain (.be) is bought at godaddy and people open my website in Belgium (West-Europe).
Is it better to have a server in Belgium?
The price for the same thing I get with hostgator will be times 3.
It is always better to have your server in Belgium. People accessing your website from Belgium will have low latency accessing your website and they will experience faster loading of your website.
These are the response times of my website at various locations. My website server location is US and my location is India. So, this test proves that if you have server in same location, it will have much higher loading speed as compared to if you have server in some other country.

Resources