3 ms·
First, you probably don't want to serve all of your users the same CDN hosts - topological/geographical location will play a role: a user from US will see >100
by Piskvorrr 15y ago
First, you probably don't want to serve all of your users the same CDN hosts - topological/geographical location will play a role: a user from US will see >100 msec latency from EU servers and vice versa.
Second, the largest hit will be to users with empty caches - which will be further worsened by the evaluation session, so the first load will be at best mediocre for everyone.
Third, getting a CDN which already does some sane load balancing (Amazon perhaps?) might be cheaper in the longer run than trying to DIY.
- savr 15y agoProfessional CDN's do anycast so first load will be pretty sane. My problem is, areas like Australia are part of very few CDN networks. Most of them are a lot more expensive. For my Australian viewers it makes sense to use Akamai or have an Australian server. For my European viewers I am best having the assets served directly off my European servers. For other viewers I may be fine using a budget CDN like maxcdn or OVH's currently free in beta CDN. This is my motive for such a solution. Plus I have the benefit of it being able to routing around problems with little manual effort.