The basic types of storage and classification

  • Common types of storage services

Direct-attached storage

Network-attached storage

Storage Area storage

DASdirect attached storage

NASNetwork Attached Storage

SANstorage area network

This is the simplest type of storage, we are of this PC is a disk (or disk array RAID) directly connected to the host bus.

 

DAS common protocol is SCSI and SATA.

 

Disk management is the main unit of the DAS.

The server is a dedicated data storage, including memory devices and embedded systems software that provides cross-platform file sharing .

 

NAS allows the administrator to allocate a portion of the storage space up a file system, file management system is the main unit of the NAS.

By Fiber Channel connected to a group of computers, the establishment of dedicated LAN for data storage .

 

In a SAN environment, administrators can set a hard disk (or a part of this group of hard disk) into logical unit ( LUN: Logic Unit ), to the outside world, LUN like a hard disk.

   

  • Traditional physical storage classification

                           

Block Storage

File Storage

Object Storage

Table storage

The main object is the operation of the disk  . 

   

以 SCSI 为 例 , 主 要 接 口 有 Read/Write/Read Capacity/Inquiry 等 等 。

   

FC , iSCSI , 也 是 块 存 储 协 议 。

 

和 文 件 存 储 相 比 , 没 有 文 件 和 目 录 树 的 概 念 , 一 般 协 议 也 不 会 定 义 磁 盘 的 创 建 和 删 除 操 作 。

   

协 议 更 注 重 传 输 控 制 。

主要操作对象是文件文件夹,数据组织方式是目录树

   

文件系统的接口基于POSIX,涉及的文件相关的接口包括:LOOKUP/ACCESS/READ/WRITE/CREATE/REMOVE/RENAME等。

   

文件夹相关的接口包括:MKDIR/RMDIR/READDIR等。

   

同时也会有FSSTAT/FSINFO等接口用于提供文件系统级别的信息。

主 要 的 操 作 对 象 是 文 件 , 数 据 的 组 织 方 式 是 扁 平 化 结 构 , 对 象 存 储 的 接 口 是 REST 风 格 的。

   

通 常 是 基 于 HTTP 协 议 的 RESTful Web API , 通 过 HTTP 请 求 中 的 PUT 和 GET 等 操 作 进 行 文 件 的 上 传 即 写 入 和 下 载 即 读 取 , 通 过 DELETE 操 作 删 除 文 件 。

以 数 据 表 的 形 式 组 织 数 据 , 保 证 强 一 致 性 , 并 提 供 视 图 和 分 页 的 功 能 来 加 速 查 询 。

 

用 户 可 以 通 过 RESTful API 来 使 用 服 务 , 也 可 以 使 用 Web 页 面 对 数 据 进 行 管 , 提 供 了 海 量 结 构 化 数 据 和 半 结 构 化 数 据 的 存 储 和 实 时 查 询 的 服 务 。

   

具 有 实 时 的 插 入 、 修 改 、 删 除 和 查 询 等 功 能 , 适 用 于 那 些 对 数 据 的 规 模 性 和 实 时 性 有 要 求 的 各 类 应 用 。

 

 

Guess you like

Origin www.cnblogs.com/liuxia912/p/10962719.html