Ceph对象存储分析

1. 概念

Ceph对象存储(Ceph Object Storage):The object storage “product”, service or capabilities, which consists essentially of a Ceph Storage Cluster and a Ceph Object Gateway.

Ceph存储集群(Ceph Storage Cluster):The core set of storage software which stores the user's data (MON+OSD).

Ceph对象网关(Ceph Object Gateway):The S3/Swift gateway component of Ceph.

2. 关系

应用程序,比如swift-client(s3cmd)通过swift(s3)接口使用Ceph对象存储。

Ceph对象网关,使用前端apache(fastcgi)接收响应http请求,通过librados向Ceph存储集群读写数据。后续版本会持续优化RadosGW内嵌的civetweb前端,并达到生产使用级别,以便降低部署难度或工作量。

Ceph对象存储分析_第1张图片

3. 部署

小规模部署如图所示:

Ceph对象存储分析_第2张图片

3. RadosGW中的Cache

为了提高性能,RadosGW中实现了Cache机制,采用write through和write update策略保证同一对象在多个Cache中的一致性。其中write update策略基于librados中的object watch/notify机制实现。

Ceph对象存储分析_第3张图片

你可能感兴趣的:(ceph,radosgw,rgw)