笔记:Ceph and Swift: Why we are not fighting.

本文涉及的产品
对象存储 OSS,20GB 3个月
对象存储 OSS,恶意文件检测 1000次 1年
对象存储 OSS,内容安全 1000次 1年
简介:

前一段时间看了Ceph的论文,有看到很多介绍用Openstack+Ceph搭建私有云的方案。自然想了解一下Ceph和Swift什么关系。这篇博客应该是Swift开发者2013年写的:Ceph and Swift: Why we are not fighting. 应该是解释的最清楚的。

开篇就是要回答的问题:
While chatting with different people there was a recurrent question coming up to me: people wanted to know whether “Ceph is better than Swift”.
他的回复就是:
But Ceph and Swift are not actually competing with each other: they are two different technologies, each with a different purpose. There is some feature overlap between both but the two have different use-cases and can actually live happily together in the same deployment.

首先特征对比:
Ceph
Started in 2006
Written in C++.
Strongly consistent.
Block storage.
Object storage.
Ceph is doing a lot of more than just object storage. Using it as an Open Source block storage (a way to provide remote virtual disks) is what people would start to get attracted by. It does this brilliantly since it seems to become a very popular block storage system option for OpenStack deployments and that’s a win for OpenStack and the Open Source community in general.

Swift
Started in 2008
Written in Python.
Eventually consistent.
Object storage.
Swift, on the other hand, does one thing and does it well. Its only ambition is to do object storage and provide a REST api to access it. It is eventually consistent. This means that when hardware fails (which is inevitable in a cluster) Swift will fall back to providing high availability to the data. Swift’s eventual consistency window is most likely to be seen when reading objects that were overwritten while hardware has failed and when looking at container listings when many objects in that container are created at the same time.

然后是应用场景
If you had to choose only one and you had a requirement for block storage you definitely want to go with CEPH. If you had only a object storage use case then I would advise you to go with Swift.

最后是结论:
Don’t think of Swift and Ceph as rivals. Both are great OpenSource projects with a specific set of tasks in mind. The main competition are proprietary software solutions resulting in a vendor lock-in, and both Swift and Ceph, with their strong communities and lively discussions, are great solutions for a vast majority of challenges.

原文地址:https://blogs.rdoproject.org/6427/ceph-and-swift-why-we-are-not-fighting

相关实践学习
块存储快速入门
块存储是阿里云为云服务器ECS提供的块设备产品。通过体验挂载数据盘、分区格式化数据盘(Linux)、创建云盘快照、重新初始化数据盘、使用快照回滚云盘和卸载数据盘等功能,带您快速入门块存储。
相关文章
|
3月前
|
存储 API Swift
Ceph Reef(18.2.X)之Swift操作对象存储网关
这篇文章详细介绍了Ceph Reef(18.2.X)中通过Swift API操作对象存储网关的方法,包括创建用户、子用户、配置环境变量、以及使用swift命令行工具进行存储桶和对象的管理。
42 7
Ceph Reef(18.2.X)之Swift操作对象存储网关
|
Swift
Ceph Swift 实践运用(四)(下)
Ceph Swift 实践运用(四)(下)
113 0
Ceph Swift 实践运用(四)(下)
|
Java Maven Swift
Ceph Swift 实践运用(四)(上)
Ceph Swift 实践运用(四)(上)
226 0
Ceph Swift 实践运用(四)(上)
|
API Swift 数据安全/隐私保护
Ceph Swift Api 配置与使用(三)(下)
Ceph Swift Api 配置与使用(三)(下)
318 0
Ceph Swift Api 配置与使用(三)(下)
|
API Swift 对象存储
Ceph Swift Api 配置与使用(三)(上)
Ceph Swift Api 配置与使用(三)(上)
342 0
Ceph Swift Api 配置与使用(三)(上)
|
存储 虚拟化 C++
Ceph vs Swift - 架构剖析
本文讲的是Ceph vs Swift - 架构剖析,【编者的话】Ceph和Swift,哪种更好?这个问题上大家争论不休,本文从两者的架构角度分析两种方式各自的优缺点,并且给出如何选择的建议。
1644 0
|
5月前
|
Unix 调度 Swift
苹果iOS新手开发之Swift 中获取时间戳有哪些方式?
在Swift中获取时间戳有四种常见方式:1) 使用`Date`对象获取秒级或毫秒级时间戳;2) 通过`CFAbsoluteTimeGetCurrent`获取Core Foundation的秒数,需转换为Unix时间戳;3) 使用`DispatchTime.now()`获取纳秒级精度的调度时间点;4) `ProcessInfo`提供设备启动后的秒数,不表示绝对时间。不同方法适用于不同的精度和场景需求。
172 3
|
1月前
|
安全 Swift iOS开发
Swift 与 UIKit 在 iOS 应用界面开发中的关键技术和实践方法
本文深入探讨了 Swift 与 UIKit 在 iOS 应用界面开发中的关键技术和实践方法。Swift 以其简洁、高效和类型安全的特点,结合 UIKit 丰富的组件和功能,为开发者提供了强大的工具。文章从 Swift 的语法优势、类型安全、编程模型以及与 UIKit 的集成,到 UIKit 的主要组件和功能,再到构建界面的实践技巧和实际案例分析,全面介绍了如何利用这些技术创建高质量的用户界面。
29 2
|
1月前
|
Swift iOS开发 UED
如何使用Swift和UIKit在iOS应用中实现自定义按钮动画
本文通过一个具体案例,介绍如何使用Swift和UIKit在iOS应用中实现自定义按钮动画。当用户点击按钮时,按钮将从圆形变为椭圆形,颜色从蓝色渐变到绿色;释放按钮时,动画以相反方式恢复。通过UIView的动画方法和弹簧动画效果,实现平滑自然的过渡。
56 1