2012년 3월 1일 목요일 오전 11:46I have a very basic question about CDN - BlobStorage and WebRole... and perfrormances...
I have a very simple web site with static content, HTML, Js, Images, CSS & videos (totally could me max 3-5MB the whole content if the users visit all the site)...
the traffic of my web site will be 98% from UK and I am planning to have a maximum of 500.000 unique visitors per day....
my question is about performances....
Would you reccomend me to enable CDN on my webrole???? would I benefit from it??? is there a benefit using CDN even if my traffic is coming "mainly" from UK??? is CDN content cached on Internet providers (eg. BT) proxy???
Would you reccomend me to host images, video etc on a blob storage account and reference it with absolute url from the web role??? is there any difference in term of performance between hosting a static file on a blob (may be enabling CDN on the storage account?!) or just put the static file on the web role???
I have not found much references on line, but I guess that the web role, the CDN and the Storage, use different disks / cache layers / network layers and it should affect on performances...
looking forward to hear your opinion....
2012년 3월 2일 금요일 오전 7:42중재자
According to your description, Windows Azure CDN (Content Delivery Network) can help to improve your application performance by caching content at locations closest to your customers and users, CDN is good for some static content (.css, .js, image files), streaming media files (vedio, audio files), or something need take a long time (such as query data with multiple conditions from a huge nerwork database) and they will be accessed frequently. So, customers or users can get their data faster and improve application's user-experience.
Also, Enable CDN in Windows Azure is very easy try to following Azure Trainning course and have a try:
Hope it can help you.
2012년 3월 5일 월요일 오후 1:44
Like Arwind said, for true performance you'll need to go for the CDN. Many tutorials explain how you can use the CDN by putting a cdn folder in your hosted service. I wouldn't do that, I prefer putting my static content in the blob storage to minimize the load on my web role instances.
Now, it's also important to know how performance will increase when you use the CDN for static content:
- Images, downloads, ... will be served by the blob storage / CDN. This means your web role instances will have more resources available to serve your users.
- 답변으로 제안됨 Sandrino Di Mattia 2012년 3월 5일 월요일 오후 1:44
2012년 3월 5일 월요일 오후 2:45
probably my question was not very clear....
is it convenient to use CDN if all my traffic is coming from the same country and it will be served from the same data center???? or it is just a waste of money in my context???
Shall I expect the same "GLOBAL" network performance from a storage account and web role CDN???? How bad could be to use the local storage on the web role in my scenario??? I would expect better performance from the storage account, but I am trying to understand if it is worthed in my scenario....
I can agree about the client/browser consideration, this is not very relevant at this stage for me...
Thanks for the clarification.
2012년 3월 5일 월요일 오후 2:56
I don't know the exact context of your application, but you can consider 2 options.
Put all static content on your blob storage. This will make sure your web role instances are not 'overloaded' by requests for static content. The blob storage is very scalable and it will take care of that for you. This will be good enough in most cases.
Where does your hosted service run? In West or North Europe? If your users are mainly from the UK it might be interesting to look at the CDN to increase performance. The CDN has a node located in London, which is very close to your users and this will increase performance for them. You could choose to use the blob storage together with the CDN.
- 답변으로 표시됨 Arwind - MSFTModerator 2012년 3월 9일 금요일 오전 10:08