#1 2017-06-04 17:23:24

Neoon
Trusted Member
Registered: 2013-05-18
Posts: 160

DestinyCDN, CDN without GeoDNS/Anycast

Hey,

I wanted to create a CDN, which does not depend on GeoDNS databases or Anycast, its kinda expensive.
The GeoDNS databases are mostly outdated and incorrect, so I need a different solution.

Basically I got a dump of the routing table, so I have a list of subnets that have been announced, and I try to get the rtt when a user request files, so I route the user to the closest location.

Based on NGINX + LUA and VPN + Galera Cluster.

If you want to try it: http://destinycdn.science

Current locations: FR, UK, DE, CA (LES), LA, AU (LES)

Known issues: We use non standard ports on LES, so a firewall may block those requests.

Neoon.

Offline

#2 2017-06-04 18:55:21

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,450
Website

Re: DestinyCDN, CDN without GeoDNS/Anycast

Which ports do you require?


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#3 2017-06-12 16:39:08

Neoon
Trusted Member
Registered: 2013-05-18
Posts: 160

Re: DestinyCDN, CDN without GeoDNS/Anycast

Well, I removed all LES boxes from the CDN since it brings not only problems with Firewalls but also with Anti Virus software, they are pretty paranoid. So it needs to be 80 or 443, which is not available on LES.

Offline

#4 2017-06-12 20:07:47

Backtogeek
Low End Boss
From: ~/
Registered: 2013-02-13
Posts: 3,450
Website

Re: DestinyCDN, CDN without GeoDNS/Anycast

Ah ok, I guess if your going via haproxy it is causing an issue for you.

side note, ssl will soon be available on LES, 6 - 8 weeks at the most I think.


http://LittleHappyCloud.net KVM VPS with 1TB Bandwidth for €3.00

Offline

#5 2017-06-24 20:28:55

WSS
Trusted Member
Registered: 2016-12-22
Posts: 225

Re: DestinyCDN, CDN without GeoDNS/Anycast

I'm not sure what, or how you are deciding upon your metrics, but I was sent to Canada several times before it decided LA would be less hops.  I know it's both guess-and-science, but I'd say it needs a little more refining.

That said, I admire all of the projects you decide to undertake- my "Give a Fuck" stopped being engaged without monetary concerns ages ago.


A signature is a small piece of text that is attached to your posts. In it, you can enter just about anything you like. Perhaps you would like to enter your favourite quote or your star sign.

Offline

Board footer