+ -
当前位置:首页 → 问答吧 → FastDFS一个开源的分布式文件系统

FastDFS一个开源的分布式文件系统

时间:2008-09-10

来源:互联网

FastDFS是一个轻量级的开源分布式文件系统,它解决了大容量存储和大并发访问的问题,非常适合相册、视频、邮箱等网站使用。服务器端用纯C编写,刚提供了PHP接口,欢迎大家试用。
详情参阅:http://www.csource.org/
google code:http://code.google.com/p/fastdfs/

作者: happy_fish100   发布时间: 2008-09-10

学习学习,再学习,。。。。。呵呵

作者: wcl2222   发布时间: 2008-09-11

我以后常来学习

作者: fenglipiao   发布时间: 2008-09-11

用户被禁言,该主题自动屏蔽!

作者: Rockoy   发布时间: 2008-09-11

希望大家多多支持哦

作者: happy_fish100   发布时间: 2008-09-11

这个是论坛,人不少、、、

作者: zystc   发布时间: 2008-09-11

这个是论坛,人不少、、、

作者: laoli521   发布时间: 2008-09-11

我需要,不错

作者: donghai   发布时间: 2008-09-12

新人路过。。。

作者: 1ling   发布时间: 2008-09-13

我以后常来学习

作者: evasyy   发布时间: 2008-09-14

学习很快乐。大家说呢?

作者: junbao99   发布时间: 2008-09-15

大家多多交流,学习

作者: fcvy   发布时间: 2008-09-15

呵呵,路过,大家继续

作者: xphf   发布时间: 2008-09-15

PHP我学习了,有点难,呵呵

作者: nxbbs   发布时间: 2008-09-15

先可以到网站上看看相关资料,呵呵
http://www.csource.org/
或者http://fastdfs.zhan.cn.yahoo.com/

作者: happy_fish100   发布时间: 2008-09-15

学习学习,再学习,。。。。。呵呵

作者: klxqlqw   发布时间: 2008-09-16

Version 1.9 2008-09-14
* security enhancement: support allow hosts which can connect to the server
* server can be run by the specified group and user, set by the config file
* change make.sh and add file common/fdfs_os_bits.h,
remove the warning info of printf format for int64_t param in 64 bits system
* storage_client.c changed: auto connect to storage server when not connected
* change some macro name and function name in tracker/tracker_proto.h

作者: happy_fish100   发布时间: 2008-09-16

PHP我学习了,有点难,呵呵

作者: ever66   发布时间: 2008-09-17

正在学习中~!~!谢谢楼主

作者: yanhuaizhi   发布时间: 2008-09-17

Version 1.10 2008-09-20
* performance optimizing: use thread pool, create all work threads at startup
* trim function op in shared_func.c
* add Makefile template Makefile.in, delete Makefile and Makefile.freebsd
change make.sh to support all unix systems (passed in Linux and FreeBSD)

希望大家试用并提出宝贵意见和建议,谢谢大家!

作者: happy_fish100   发布时间: 2008-09-22

Version 1.11 2008-10-04
* kill report and sync threads when recv terminate signal
* add item "store_server" in tracker.conf, by default use the first
storage server to store uploaded files
* ini_file_reader.c changed: a conf file can include other conf files
* some adjustment:
some macro name changed
add common_define.h
remove fdfs_define.c
fdfs_os_bits.h change to _os_bits.h

作者: happy_fish100   发布时间: 2008-10-05

这个论坛php的文章不少

作者: 6317131a   发布时间: 2008-10-06

Version 1.1 2008-10-17
* download file support callback function
* add file fdfs_storage_client1.php to combine 2 fields: group name
and filename to 1 field: file id
* add anothor test program: fdfs_test1.php to use file id

google code下载地址:http://code.google.com/p/fastdfs/downloads/list

作者: happy_fish100   发布时间: 2008-10-17

V1.12修复了文件同步的几个问题,支持从服务器列表中删除已经下线或无效的存储服务器。
另外几个重大改进如下:

1. 对于下载一个已经存在的文件,当客户端询问tracker server时,tracker server将返回一个有效的storage server,保证该文件在该storage server上的确存在。这样就修正了文件同步延迟导致其他服务器上新文件尚未存在的问题。

2. 对于删除文件和修改meta data,提供了query storage server for update的函数,保证对一个文件的后续更新操作都在同一台storage server上完成,这样就有效地解决了时序问题。

3. 支持客户端指定文件后缀,便于在storage server上部署web server,配合web server通过文件后缀完成文件类型识别。

4. 磁盘IO优化:binlog记录采用cache方式,而不是每条记录都fsync到硬盘;写文件时,按目录顺序存储的效果比按目录分散(随机)存储要好。

5. 一台storage server支持多个目录(mount point)。为了提高硬盘IO,建议将多块硬盘分别mount成独立的目录,然后交给FastDFS管理。

6. 提供了将服务器返回的两个字段group name和filename合并为一个字段file_id的API

7. 为了支持流处理,客户端文件下载函数支持callback

google code下载地址:http://code.google.com/p/fastdfs/downloads/list
欢迎大家下载测试和使用!

作者: happy_fish100   发布时间: 2008-11-13

Version 1.13 2008-11-29
* re-calculate group 's free space when one of it's storage servers'
free space increase
* add parameters: sync_interval, sync_start_time and sync_end_time to
storage.conf
* performance enhancement: log to buffer, flush to disk every interval seconds
* standard fds closed by daemon_init: 0(stdin), 1(stdout) and 2(stderr)
* fix bug: pthread_kill sometimes cause core dump when program terminated
* fix bug: sync.c open next binlog cause loop call

作者: happy_fish100   发布时间: 2008-12-01