zoukankan      html  css  js  c++  java
  • Azure中block和Page的比较 Azure: Did You Know? Block vs Page Blobs

    Azure storage service supports two types of blobs (blob, or BLOB, stand for Binary Large OBject, i.e. an unstructured binary data): block and page blobs. Blob type is selected when blob is created and then it can’t be changed. Although both blob types allow for storage of large binary objects in Azure, they are optimized for different storage scenarios.

    Block blobs are composed of blocks, each of them can have different size and identified by block id (block is will be used to uniquely identify block within container). Each block can’t be no more than 64Mb is size and block blob can’t have a maximum of 50,000 blocks, so the maximum size of block blob is 200GB. Blocks could be uploaded to storage service in parallel, and then assembled into a block blob by a single commit operation. That makes block blobs ideal for streaming upload scenarios (when large object is split into pieces what are uploaded in parallel to decrease upload time and then assembled back into a single object), like file sharing application. Streaming content download is also working better with block blobs as it makes sense to sequentially download blocks to the client.

    Page blobs are a collection of 512-byte pages. When creating page blob you’ll need to specify maximum size of the blob and that size can’t be exceeded. Page blobs are optimized for high-speed random access read and write operations, and perfect for storing virtual file systems (like VHDs) when client is responsible for organizing data inside the blob. Pages in page blob are assessed by proving an offset in bytes from the beginning of the blob. That offset must alight to the 512 byte page boundary, because only entire page(s) could be read or written. The maximum page blob size is 1TB.

  • 相关阅读:
    二维数组
    ASCII_02_扩展
    ASCII_01
    【转】如何监控某个驱动器或目录及其下面的所有子目录的创建文件的动作
    webpack+vue2.0项目 (一) vue-cli脚手架
    分享两个常用的rem布局方式
    移动端border:1px问题解决方案
    sticky footer 布局
    用js数组实现最原始的图片轮播实现
    分享按钮(QQ,微信,微博等)移入动画效果
  • 原文地址:https://www.cnblogs.com/kiracn/p/6919620.html
Copyright © 2011-2022 走看看