*** 测试脚本测试文件为临时生成,实际效果应该还会好一些
测试环境
tracker:openstack 4核 16G 20G 单个python进程
storage:openstack 4核 16G 20G
upload client: Mac Mini 4核 8G
基础测试
上传文件数: 100
单个文件大小: 10M
模拟用户: 1
上传间隔: 0.1s
传输速度为 21.7M/s
平均每个文件花费 0.46s
+---------------------+-------+
| key | value |
+---------------------+-------+
| One File Size (M) | 10 |
| All File Size (M) | 1000 |
| Process Count(user) | 1 |
| Upload Count | 100 |
| Interval Time(s) | 0.1 |
| Success count | 100 |
| Fail count | 0 |
| Success ratio (%) | 100.0 |
| Use time (s) | 46.06 |
+---------------------+-------+
低压测试
上传文件数: 50
单个文件大小: 10M
模拟用户: 5
上传间隔: 0s
传输速度为 37.44M/s
平均每个文件花费 0.26s
这时已经明显有些链接处理效率变慢了,达到了4000ms,单个进程的瓶颈
在做域空间清空时,删除过快,状态页面会迟些才能显示正确
+---------------------+-------+
| key | value |
+---------------------+-------+
| One File Size (M) | 10 |
| All File Size (M) | 2500 |
| Process Count(user) | 5 |
| Upload Count | 250 |
| Interval Time(s) | 0 |
| Success count | 250 |
| Fail count | 0 |
| Success ratio (%) | 100.0 |
| Use time (s) | 66.76 |
+---------------------+-------+
常速测试
上传文件数: 400
单个文件大小: 10M
模拟用户: 2
上传间隔: 1s
传输速度为 14.47M/s
平均每个文件花费 0.69s
+---------------------+--------+
| key | value |
+---------------------+--------+
| One File Size (M) | 10 |
| All File Size (M) | 4000 |
| Process Count(user) | 2 |
| Upload Count | 400 |
| Interval Time(s) | 1 |
| Success count | 400 |
| Fail count | 0 |
| Success ratio (%) | 100.0 |
| Use time (s) | 276.30 |
+---------------------+--------+
没有合适的资源?快使用搜索试试~ 我知道了~
基于Fastdfs和Python的分布式文件存储系统.zip
共84个文件
js:16个
py:15个
md:12个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 145 浏览量
2023-07-19
15:11:17
上传
评论
收藏 9.46MB ZIP 举报
温馨提示
基于Fastdfs和Python的分布式文件存储系统.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于Fastdfs和Python的分布式文件存储系统.zip (84个子文件)
基于Fastdfs和Python的分布式文件存储系统
pyfdfs-master
pyfdfs-master
doc
howto_install_fastdfs.md 4KB
howto_hot_add_server.md 1KB
howto_mysql_ha.md 5KB
FAQ.txt 611B
howto_use_pyfdfs.md 2KB
http_api.md 1KB
mariadb_optimize.md 2KB
howto_install_mysql.md 2KB
howto_install_fdfs_so.md 3KB
fdfs_conf_doc.md 9KB
howto_hot_add_disk.md 1KB
nginx_conf.md 1KB
fdfs_mysql_table.sql 277B
howto_build_fdfs_rpm.md 3KB
src
tools
delete_test.py 2KB
upload_test.py 4KB
pyfdfs_lib.py 5KB
web
js
bootstrap.js 67KB
npm.js 484B
bootstrap.min.js 36KB
storage.js 1KB
angular.min.js.map 396KB
angular.js 1.04MB
angular.min.js 147KB
download.html 123B
css
bootstrap.min.css 120KB
bootstrap-theme.css.map 47KB
bootstrap-theme.css 26KB
bootstrap.css.map 381KB
bootstrap.css 144KB
bootstrap-theme.min.css 23KB
index.html 10KB
fonts
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.woff2 18KB
test
upload_test.py 4KB
test_result_0223.txt 2KB
server
app.py 2KB
handlers
__init__.py 155B
post_streamer.py 10KB
mysql_utils.py 18KB
peewee_orm.py 11KB
jsonlib
libjsonlib.a 609KB
libjsonlib.so 354KB
handler.py 26KB
FDFSPythonClient.so 165KB
settings.py 698B
hash_utils.py 2KB
redis_utils.py 4KB
mysql_create.py 2KB
fdfs_utils.py 5KB
templates
index.html 14KB
static
js
bootstrap.js 67KB
npm.js 484B
jquery-2.2.1.min.js 84KB
bootstrap.min.js 36KB
jquery-2.2.1.min.map 127KB
jquery-2.2.1.js 252KB
upload.js 3KB
storage.js 1KB
auto_refresh.js 516B
angular.min.js.map 396KB
angular.js 1.04MB
angular.min.js 147KB
css
bootstrap.min.css 120KB
bootstrap-theme.css.map 47KB
bootstrap-theme.css 26KB
bootstrap.css.map 381KB
bootstrap.css 144KB
bootstrap-theme.min.css 23KB
fonts
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.woff2 18KB
logging.yaml 582B
LICENSE 1KB
package
fdfs_python_so.zip 995KB
fdfs0302_centos7.zip 2.8MB
init_system.sh 996B
fdfs_so_centos7.zip 1003KB
fdfs0125_centos6.zip 2.92MB
共 84 条
- 1
资源评论
GeekyGuru
- 粉丝: 1730
- 资源: 1099
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功