这里整理了网络上与 swift 相关的各种学习资料。
1. swift 文档
官方文档
https://wiki.openstack.org/wiki/Swift
https://docs.openstack.org/swift/latest/
swift 中的存储策略
https://www.ibm.com/developerworks/cn/cloud/library/1411_limy_openstackswift/
swift 官方文档翻译
对官方文档每一小节做了一个总结,是原有文档的一个摘要,很抽象。
http://www.cnblogs.com/yuxc/archive/2011/12/06/2278303.html
2. 安装配置
Swift All In On (SAIO) 的安装
https://zyzsdy.com/article/68
分布式环境中单独安装 swift
http://blog.fatedier.com/2016/05/25/deploy-openstack-swift/
在 openstack 中安装 swift
https://docs.openstack.org/liberty/zh_CN/install-guide-ubuntu/swift.html
基于keystone认证的Swift的安装与配置
http://blog.51cto.com/fire7758/1374190
swift 中添加S3 API中间件
在Swift中,Swift3中间件在Object Storage上提供了S3 REST 风格的API。
http://www.cnblogs.com/yuxc/archive/2012/05/12/2497385.html
swift log 配置
http://lavenresearch.github.io//linux/2015/09/18/The-Logging-System-for-Openstack-Swift-(linux-syslog)
http://blog.fatedier.com/2016/05/25/deploy-openstack-swift/
3. 源码分析
swift中一致性哈希环的介绍
(1)这0是对官方文档中一致性hash介绍的一个翻译,加入了一些自己的理解,从一个简单的例子,逐步深入解析 swift 中的一致性哈希环的设计。
推荐阅读官方文档中的介绍,更加详细:https://docs.openstack.org/swift/latest/ring_background.html
https://blog.csdn.net/zzcase/article/details/6709961
https://blog.csdn.net/zzcase/article/details/6710104
(2) 与上一个类似,也是从简单例子入手,慢慢深入到 swift 中的hash环
http://www.cnblogs.com/yuxc/archive/2012/06/22/2558312.html
swift 中 Ring 的设计与实现
(1) ring的数据结构及相关操作的命令,没有涉及到源码,毕竟宏观
http://www.cnblogs.com/yuxc/archive/2012/06/28/2568584.html
(2) swift-ring-builder源代码解析
https://blog.csdn.net/gaoxingnengjisuan/article/details/9347953
https://blog.csdn.net/gaoxingnengjisuan/article/details/9374919
(3) ring的实现分析
https://zhuanlan.zhihu.com/p/27879959
swift 存储实现分析
http://www.cnblogs.com/yuxc/archive/2012/07/04/2575536.html
swift服务启动源码分析
https://blog.csdn.net/gaoxingnengjisuan/article/details/9285031
https://blog.csdn.net/gaoxingnengjisuan/article/details/9305219
https://blog.csdn.net/gaoxingnengjisuan/article/details/9315627
object-server 源码分析
https://my.oschina.net/zhouxingxing/blog/84264
4. 性能优化
海量小文件性能优化
slides
https://myslide.cn/slides/649
5. python 背景知识
eventlet
http://lavenresearch.github.io//openstack/2016/04/21/Openstack-Swift-with-Eventlet
http://eventlet.net/doc/
http://luckylau.tech/2017/03/06/Python%E7%9A%84eventlet%E4%BD%BF%E7%94%A8%E4%B8%8E%E7%90%86%E8%A7%A3/
http协议
http://www.ruanyifeng.com/blog/2016/08/http.html
yield
https://www.cnblogs.com/jiangtu/p/6662043.html
wsgi
http://blog.yongli1992.com/2015/01/23/python-wsgi-1/
http://cizixs.com/2014/11/08/understand-wsgi