image - Azure: requests to BLOB storage hit CPU? -


i'm trying calculate costs of delivering, viewing , clicking images using azure services. want avoid using cpu possible i'm bit confused. when navigates image that's in blob storage count request web site instance or purely storage transaction?

also since need track viewing of image possible metric through blob storage instead of sending ajax hit server? i'm trying save round trips server.

based on this article (benchmarks) shows 2 medium instances can support ~100 requests/sec therefore around 263 million requests/month. website i'm building need hundreds of millions of views tracked , millions of clicks want see if can avoid costs of requests expensive compared bandwidth/storage.

blob storage independent service cloud service role instances (or virtual machine instances, or web sites instances). if embed url blob, within <img> tag, browser make request directly blob storage. url start http://yourname.blob.core.windows.net/container/blobname, separate endpoint http://yourservice.cloudapp.net.

if, on other hand, request handler takes responsibility of downloading blob machine instance , pushing user part of response stream, yes you'll take hit on cpu , bandwidth (and memory).

if choose former method, can collect stats enabling storage analytics give comprehensive view of both individual downloads (including source ip address) hourly rollups.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -