News for hackers. Stuff that matters.
Re:My idea for a smart fault tolerant assets / CDN balancer? by Piskvorrr on Thursday May 17, 2012 @09:03AM (#3986755)
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.
Re:My idea for a smart fault tolerant assets / CDN balancer? by savr on Thursday May 17, 2012 @09:22AM (#3986819)
Professional 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.