OpenStack: What is the difference between Block storage and Object storage?Also, In what way they ar

Block Storage is persistant storage organized into unstructured "blocks", each the same length.  An ordinary disk drive, RAID array, or USB storage key are examples of locally attached "block storage".

Block storage can be either "locally attached", or it can be "network" attached, in a SAN, speaking a network protocols such as iSCSI.

Block storage devices typically are formatted with a filesystem, such as Linux's ext3 or btrfs, or Microsoft's FAT32 or NTFS. The Linux filesystems such as ext3 implement the POSIX filesystem semantics.

In OpenStack, block storage is provided by the Nova system working with the Cinder system.  When you start a Nova compute instance, it will probably come with some block storage devices by default, at the very least to hold the read/write partitions of the running OS.  These block storage instances can be "ephemeral" (the data goes away when the compute instance stops) or "persistant" (the data is kept, can be used later again after the compute instances stops), depending on the configuration of the OpenStack system you are using.

A block storage device usually can be attached and in read/write use by only one machine or compute instance at a time.


Object Storage is persistant storage of "objects" in a way that is useful for HTTP access and for making guarantees about the safe storage of data.  An object is a stream of bytes, with an associated name, a MIME type, an access control list (ACL), and other HTTP-related and random metadata.  Once an object is created and written, it cannot be changed, only copied or deleted.

Object Store systems are often configured to make very strong guarantees that the data will not be lost, even in a disaster.  Keeping three copies across two geographically separated data centers is common.

Once written, an object can be read by many clients at once.  If you want to "fan out" data: writing it once, and having it read many times by many machines in the near and far future, object storage can help implement that pattern.

With some care in the naming of an object, and by pointing the DNS CNAME of the domain name part of a URL at the address of an Object Storage service, the object can be retrieved and displayed by any web browser on the internet. A great deal of the content, especially graphics and icons, that display in your web browser, are actually objects being served out  of Amazon's AWS S3 service.

In OpenStack, the object storage system is one of the two original projects, and is named Swift.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值