Pregunta

Estoy leyendo sobre manchas y almacenamiento de Azure, y hay cosas que no entiendo.

En primer lugar, se puede alquilar por sólo Azure de alojamiento, pero cuando se crea un papel web ... ¿Necesita almacenamiento para los archivos .dll y de otros archivos (.js y .css) ?? O hay una pequeña cuota de almacenamiento en un rol de trabajo se puede utilizar? cuánto tiempo es? No puedo entender cobraron cada vez que un navegador descarga un archivo CSS, así que supongo que puedo almacenar esas cosas en otro tipo de almacenamiento.

En segundo lugar, te cobran por transacción y ancho de banda, así que no es una buena idea para proporcionar enlaces directos a las manchas en sus sitios web, entonces ... ¿qué haces? Puedes descargarlo desde el código del sitio web y de escritura a la corriente de salida del cliente sobre la marcha desde ASP.NET? Creo que he leído que trafic interna / transacciones son gratis, por lo que parece una solución "demasiado-bueno-para-ser-verdad": D

Es el tráfico entre el alojamiento y almacenamiento también es libre?

Gracias de antemano.

¿Fue útil?

Solución

First, to answer your main question: blobs are best used for dynamic data files. If you run a YouTube sorta site, you would use blobs to store videos in every compressed state and thumbnails to images generated from those videos. Tables within table storage are best for dynamic data that does not require files. For example comments on YouTube videos would likely be best stored by tables in ATS.

  1. You generally want a storage account for at least: publishing your deployments into Azure and to have your compute nodes transfer their diagnostic data to, for when you're deployed and need to monitor your compute nodes

  2. Even though you publish your deployments THROUGH a storage account, the deployment code lives on your compute nodes. .CSS/.HTML files served by your app are served through your node's storage space which you get plenty of (it is NOT a good place for your dynamic data however)

  3. You pay for traffic/data that crosses the Azure data center boundary, irregardless where it came from. Furthermore, transactions (reads or writes) between your azure table storage and anywhere else are not free. You also pay for storing the data in the storage account (storing data on compute nodes themselves is not metered). Data that does not leave their data center is not subject to transfer fees. Now in reality, the costs are so low, that you have to be pushing gigabytes per day to start noticing

  4. Don't store any dynamic data only on compute instances. That data will get purged whenever you redeploy your app or whenever they decide to move your app onto a different node.

Hope this helps

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top