Windows Azure Introduction - Storage: Blob

Starting from today, I will spend some time to introduce Microsoft cloud computing platform - Windows Azure. I will be focuing on the development part on Windows Azure. At the end of this series, we will put some time on how to develop a Windows Azure application with a pretty good example. Moreover, for what Windows Azure is all about, we will not discuss in any details. Please go Bing it and see what you get from there. :-)

Binary large objects—blobs—are often just what an application needs. Whether they hold video, audio, archived email messages, or anything else, they let applications store and access data in a very general way. To use blobs, a developer first creates one or more containers in some storage account. Each of these containers can then hold one or more blobs.

To identify a particular blob, an application supplies a URI of the form:

http://<StorageAccount>.blob.core.windows.net/<Container>/<BlobName>

<StorageAccount> is a unique identifier assigned when a new storage account is created, while <Container> and <BlobName> are the names of a specific container and a blob within that container. Containers can’t be nested—they can contain only blobs, not other containers—so it’s not possible to create a hierarchy of blobs. Still, it’s legal for a blob name to contain a “/”, so a developer can create the illusion of a hierarchy if desired.

Note that blobs can be large—up to 50 gigabytes—and so to make transferring them more efficient, each blob can be subdivided into blocks. If a failure occurs, retransmission can resume with the most recent block rather than sending the entire blob again. Once all of a blob’s blocks have been uploaded, the entire blob can be committed at once.

Containers can be marked as private or public. For blobs in a private container, both read and write requests must be signed using the key for the blob’s storage account. For blobs in a public container, only write requests must be signed; any application is allowed to read the blob. This can be useful in situations such as making video, photos, or other unstructured data generally available on the Internet.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值