Live data from Hacker News

Rolling your own CDN for $25 in 1 hour

scalescale.com

31–40 of 93 posts

Re: Rolling your own CDN for $25 in 1 hour

#32
post #30

Earlier quoted context omitted.

great points. happy to take this approach on future posts and would love to collaborate in the future.

I really liked your write-up. As natch mentioned, it will be great to include more details in the article. I like the detail level of Digital Ocean articles. It seems based on my recent trial experience with CloudFlare that both CDN startups might have this issue of incomplete/insufficient instructions and information for their users/customers to properly implement the solution and lot of assumptions about the skill…

thanks for the feedback. appreciate it.

Re: Rolling your own CDN for $25 in 1 hour

#33
post #29

I'd recommend CloudFlare if you want AnyCast geo-DNS, and a free CDN. We don't charge for bandwidth or our DNS service. Disclosure: yes, I work at CloudFlare but the previous details are simply facts.

Do you have a link to CloudFlare geo-DNS? I have multiple servers in multiple parts of the world, and didn't know that Cloudflare supported that.

CloudFlare uses AnyCast. We'll route any incoming requests to the nearest data center automatically. http://blog.cloudflare.com/a-brief-anycast-primer No additional configuration required.

If you're referring to making different origin calls based on the geographic region -- such as when we go back to your origin for a request hitting our LAX data center if you happen to have an origin near LAX we'd use that origin specifically versus your other origin which might be located in let's say LHR. We currently only support that functionality for our higher end enterprise contracts. The functionality will likely to be available for other plan levels in the future though.

Re: Rolling your own CDN for $25 in 1 hour

#35
post #14

Earlier quoted context omitted.

"This wasn't really scheduled for prime time, but started taking off" :) You submitted the link to HN and that comment makes it seem like the post accidentally took off!

itchy trigger finger :-) didn't expect people to respond so well on a Sunday.

Just messing! :) Cheers

Re: Rolling your own CDN for $25 in 1 hour

#39

I'm wondering if it would be useful to plug groupcache into this. It's what Google uses for serving downloads (e.g., Chrome downloads). Inherently distributed and self-balancing. I might give that a try.

Looks promising, but might need to add Doozer to the stack as groupcache has an issue with maintaining a list of peers where the cached data is distributed. Definitely worth looking into though.

https://github.com/ha/doozerd

Re: Rolling your own CDN for $25 in 1 hour

#40
post #7

Earlier quoted context omitted.

Actually, with DigitalOcean, you get quite a lot of bandwidth for the price. Additionally, their transfer limits are high (1TB for the $5 instances), and overage is only $0.02/GB. If you combine this with something like Route 53's anycast latency-routed DNS, it can work very well.

Maybe it can work. I'm still a little skeptical. But I don't see why you would ever want to deal with managing all this infrastructure yourself when there are many established providers that can likely do a much better job at a comparable price.

Managing the infrastructures is quite easy with Ansible, Puppet, or whatever your flavor of config management is. You can also take advantage of anycast DNS and GEO targeting by signing up for a free NSOne.net account. That would probably shave $5 off the total.
Post reply on HN