SeaweedFS是简单,高伸缩性的分布式文件系统,包含两部分:存储数十亿的文件;快速为文件服务。SeaweedFS作为支持全POSIX文件系统语义替代,Seaweed-FS选择仅实现key-file的映射,类似"NoSQL",也可以说是"NoFS"。
SeaweedFS仅花费40字节的硬盘来存储每个文件的元数据。
基准测试基于MacBook,固态硬盘,CPU:1IntelCorei72.6GHz。
编写1百万的1KB文件:
Concurrency Level: 16Time taken for tests: 88.796 secondsComplete requests: 1048576Failed requests: 0Total transferred: 1106764659 bytesRequests per second: 11808.87 [#/sec]Transfer rate: 12172.05 [Kbytes/sec]Connection Times (ms) min avg max stdTotal: 0.2 1.3 44.8 0.9Percentage of the requests served within a certain time (ms) 50% 1.1 ms 66% 1.3 ms 75% 1.5 ms 80% 1.7 ms 90% 2.1 ms 95% 2.6 ms 98% 3.7 ms 99% 4.6 ms 100% 44.8 ms自由读取1百万文件:
Concurrency Level: 16Time taken for tests: 34.263 secondsComplete requests: 1048576Failed requests: 0Total transferred: 1106762945 bytesRequests per second: 30603.34 [#/sec]Transfer rate: 31544.49 [Kbytes/sec]Connection Times (ms) min avg max stdTotal: 0.0 0.5 20.7 0.7Percentage of the requests served within a certain time (ms) 50% 0.4 ms 75% 0.5 ms 95% 0.6 ms 98% 0.8 ms 99% 1.2 ms 100% 20.7 ms
评论