Multiple custom domains to hosted service cdn endpoint?
-
2011년 11월 23일 수요일 오전 10:23
Hi All,
We’re using the CDN to deliver json files to the client. The client request around 18-30 json files simultaneously. I know that this can appear as an awkward solution but the application is map based and the client loads a json file for each map tile that is loaded. Due to the 6 connections per host limit in most browsers, see link, the json files are loaded in sequence. From a performance perspective we would like the client to load the json files from multiple hosts in order to trick the browser to execute all requests in parallel (simultaneously), a.k.a parallelize downloads across hostnames, see link and link.
To accomplish our goal we’ve set up a custom domain for the hosted service cdn endpoint according to link and link. Let’s say our custom domain is cdn.ourdomain.com, now we have two domains to our cdn namely; cdn.ourdomain.com and <id>.vo.msecnd.net (azure cdn host). But we want even more domains and we don’t want to expose the vo.msecnd.net host to the client. We moved ahead and created five new host names (CNAMES); cdn1.ourdomain.com, cdn2.ourdomain.com, cdn3.ourdomain.com, cdn4.ourdomain.com and cdn5.ourdomain.com which all points to cdn.ourdomain.com, the configured custom domain for the cdn endpoint.
Nslookup for cdn1.ourdomain.com gives the following result:
C:\Windows\system32>nslookup cdn1.ourdomain.com
Server: x
Address: 192.168.40.1
Icke-auktoritärt svar:
Namn: <id>.vo.msecnd.net
Addresses: 94.245.71.145
94.245.71.144
Aliases: cdn1.ourdomain.com
cdn.ourdomain.com
BUT the cdn itself returns a 400 bad request for all cdnX.ourdomain.com requests. We know that this is probably due to the fact the only configured and authorized custom domain is cdn.ourdomain.com, but is there a known work around to parallelize cdn requests across hostnames?
BR,
Max.
모든 응답
-
2011년 11월 24일 목요일 오후 2:43중재자
Hi,
I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay.
Appreciate your patience.
Best Regards,
Ming Xu.
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework -
2011년 11월 24일 목요일 오후 3:03
Hi,
I appreciate your commitment in this issue.
BR,
Max.
-
2011년 12월 9일 금요일 오전 6:10
Take IE as an example of web browser. See http://msdn.microsoft.com/en-us/library/cc304129(v=vs.85).aspx about the concurrent Connections and please notice it is concurrent connection per server--not per host name. so if you are using several different host names but they are actually pointing to a same host, it won't work for you.
As far as I know if you put the resource on CDN you don't have control on which server the cleint download it from. If you realy want the client to download ALL files at the same time, you will want to put them on 4 different servers.
================
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Thanks & Regards,
Emma
Microsoft Online Community Support
-
2011년 12월 9일 금요일 오전 7:51
As I read the article above I understand it as IE is cabable of 6 connections to a HOST. I.e.
"These enhancements include an increase in the maximum number of concurrent connections from a single host"
AND
"With Internet Explorer 8, the maximum number of concurrent connections from a single host process connecting via broadband to a single server has been increased to 6."
Anyway, currently we're using the native azure cdn name and one custom domain and for Chrome and Firefox fiddler clearly shows that the browser makes 12, instead of 6, concurrent requests. Due to some cross domain issue that we're working on we haven't got this working in IE yet.
-
2011년 12월 14일 수요일 오전 6:14
I used IE as an example because it is Microsoft web browser. 6 connection is the IE defined max concurrent connection number--per a single server. Other web browsers may have their own definition to this number. You'd check with the providers to find out if that is bound to a nameor a server.
Yet to the server side if you use Windows Azure CDN, currently you won;t have control on how many servers, or which server your clients can connect to.
-Emma
-
2012년 2월 21일 화요일 오전 10:47
Hi,
Any news on this feature?
-
2012년 2월 21일 화요일 오전 11:46
The bad request response is due to the CDN not being configured to understand your hostname header for cdn[1-5].ourdomain.com. You will need a CDN rewrite for each pointing to <id>.vo.msecnd.net.
Contact me at stcarter [at] microsoft {dot} com to discuss this further if this isn't clear.
-Steve
- 답변으로 표시됨 Brad CalderModerator 2012년 3월 12일 월요일 오전 9:14

