Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

CDN Priority for jsDelivr to do faster delivery #6

Closed
vigneshshanmugam opened this issue Feb 24, 2015 · 6 comments
Closed

CDN Priority for jsDelivr to do faster delivery #6

vigneshshanmugam opened this issue Feb 24, 2015 · 6 comments

Comments

@vigneshshanmugam
Copy link

If it okay if we can introduce mechanism like

cdnPriority = {
     "IN" : ["keycdn", "cloudfare","maxcdn"]
}


From the data above, We are pretty sure for India , KeyCDN outperforms other CDN's
Pros

We can directly serve the static assets from KeyCDN rather than going through the entire loop of checking availability, sonar and round trip time.

Cons

We need to update the code when the trend gets changed by analysing the data from Cedexis.

Please do let me know your thoughts on this.

@jimaek
Copy link
Member

jimaek commented Feb 24, 2015

There is no point in a priority system, Cedexis works with live data and automatically selects the fastest provider. So if KeyCDN is the fastest then it will be selected anyway without your idea

@vigneshshanmugam
Copy link
Author

Does it remembers the data for a country and choose the best CDN without analysis or compute it every time?.

@jimaek
Copy link
Member

jimaek commented Feb 24, 2015

It computes every time. Also the data is not per country but per ASN. Only if there is no data for an ASN it fallbacks to country level data

@vigneshshanmugam
Copy link
Author

Why cant fix that CDN for a ASN once we know and reduce the computing cost. If we see that CDN is down, then we fallback to other CDN's and then fallback to country level data at the last.

@jimaek
Copy link
Member

jimaek commented Feb 24, 2015

The computing cost is not a problem and thats the whole point of the platform, to do real time decisions and not cached or pre-set rules

@vigneshshanmugam
Copy link
Author

Alright thanks for the answers :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants