An introduction to object storage

Block, file and object storage compared; what an object is, the S3 API, strong consistency and durability, storage classes, lifecycle rules, billing and open-source options.

  • 14 slides
  • Style standard · Business
  • Colours cobalt
  • In Chinese
An introduction to object storage, slide 1: 封面

About this deck

For anyone meeting object storage such as S3, OSS or R2 for the first time. It separates block, file and object storage, explains why objects have no real folders, what strong consistency and eleven nines of durability mean, and how storage classes and lifecycle rules save money.

14 slides in the standard style with the cobalt colours, built from 14 PCafe templates. The slides are in Chinese. Play it in the browser, download it as HTML, PowerPoint or PDF, or embed it in your own page.

What’s inside

  1. 对象存储是什么

    从“文件放在哪里”讲起:对象存储怎样组织数据、怎样读写、怎样保证不丢,以及该怎么选。

  2. 块、文件、对象:数据怎么组织

    三种方式没有高下,区别在于数据怎样编址、怎样访问。

  3. 一个对象由三部分组成

    桶 + 键(开启版本控制时再加版本号)唯一确定一个对象。

  4. 看起来像文件夹,其实只是键的前缀

    控制台用前缀和分隔符“/”推断出层级,桶里本身没有子目录。

  5. 四个 HTTP 动词,覆盖大部分日常操作

    S3 是 REST 服务,用标准 HTTP 请求创建、读取和删除对象。响应行为示意。

  6. 写进去之后:一致与不丢

    对象存储给出的两个承诺:读到的是最新的,存进去的不会丢。

  7. 强一致性

    一致性要靠第三方服务或额外设施

  8. “十一个九”是怎么数的

    耐久度说的是数据不丢的概率,是设计目标;可用性是另一个指标。

  9. 越往下越冷:取得越慢,存得越久

    耐久度相同,区别在取回速度、最短计费时长和取回费。

  10. 一条规则,让对象自己往下走

    下面是一条示意规则;天数可自定,但要满足各存储类的最短计费时长。

  11. 账单由几块组成

    按实际用量计费,不需要预先买容量。具体单价因地区和存储类而异。

  12. 四类常见用途

    AWS 文档列出的用途里,挑四类最常见的。

  13. 开源的 S3 兼容实现

    很多系统实现了 S3 API 的大部分子集,应用基本不用改就能切换。

  14. 桶、键、对象,再加一套 HTTP API 选型时先问:多久读一次,能等多久,要存多久。

    对象存储是扁平空间:“文件夹”只是键的前缀。

Templates used

Each template has its own page: what it is for, its text limits and example code.

More demos

All demos →

Made with PCafe

Want a deck like this?

PCafe has your AI assistant write into ready-made slide templates. You get one HTML file that opens offline and can be sent to anyone.