1 / 19

陌陌存储平台发展史

陈湛翀. 陌陌存储平台发展史. 一个关于创业的故事. 第一阶段:云主机 第二阶段:NFS 第三阶段:存储平台 v1.0 第四阶段:存储平台 v2.0 第五阶段:未来. 提要. 图片总体架构. openfire nginx php mongodb. 第一阶段. 瓶颈:云主机性能跟不上访问量. 第一阶段. 初创经验:Done is better than perfect. 第一阶段. 存储服务与逻辑业务开始分离 优点:方便开发者 缺点:高并发下性能差. 第二阶段. 瓶颈:NFS 在高并发下性能极差. 第二阶段. 初创经验:不要过早优化.

kamali
Download Presentation

陌陌存储平台发展史

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 陈湛翀 陌陌存储平台发展史

  2. 一个关于创业的故事

  3. 第一阶段:云主机 第二阶段:NFS 第三阶段:存储平台 v1.0 第四阶段:存储平台 v2.0 第五阶段:未来 提要

  4. 图片总体架构

  5. openfire nginx php mongodb 第一阶段

  6. 瓶颈:云主机性能跟不上访问量 第一阶段

  7. 初创经验:Done is better than perfect. 第一阶段

  8. 存储服务与逻辑业务开始分离 优点:方便开发者 缺点:高并发下性能差 第二阶段

  9. 瓶颈:NFS 在高并发下性能极差 第二阶段

  10. 初创经验:不要过早优化 第二阶段

  11. 存储平台与逻辑业务分离 ngx_lua 写的 uploader 同步上传 优化:异步上传 第三阶段

  12. 瓶颈:扩展困难 图片文件名例子:…/A0/B9/*.jpg 第三阶段

  13. 初创经验:技术选型要注意可维护性 第三阶段

  14. 选型分布式文件系统 处理好文件名转换 cache 使用快盘 TFS 使用慢盘 第四阶段

  15. HDFS MogileFS FastDFS TFS 第四阶段 - 选型

  16. 瓶颈:MySQL 作为文件名转换的 DB …/AA/BB/*.jpg -> /v1/tfs/T1pabnek… 第四阶段

  17. 初创经验:是否有必要自己搭建存储平台 第四阶段

  18. 区分冷热数据 采用 atom cpu 的低功耗服务器 多 IDC 上传 细分存储,节省成本 … 第五阶段

More Related