免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8454 | 回复: 7
打印 上一主题 下一主题

FastDFS提供PHP Client API了 [复制链接]

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-10 17:45 |只看该作者 |倒序浏览
告诉大家一个好消息,开源分布式文件系统FastDFS提供PHP client API了。
FastDFS详情请参阅:http://www.csource.org/
google code下载地址:http://code.google.com/p/fastdfs/downloads/list

欢迎大家试用!

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
2 [报告]
发表于 2008-09-16 11:52 |只看该作者

FastDFS V1.9 Released

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

Version 1.8  2008-09-07
  * communication protocol changed to support large file exceed 2GB:
     # all integer field is 8 bytes big-endian
     # group name fixed length: FDFS_GROUP_NAME_MAX_LEN bytes
  * storage stat numbers (such as total_upload_count, success_upload_count)
    use int64_t (8 bytes integer)
  * ini_file_reader.c add function iniGetInt64Value
  * sockopt.c add function tcpsetnonblockopt
  * shared_func.c add function set_nonblock

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
3 [报告]
发表于 2008-09-22 10:49 |只看该作者

FastDFS V1.10 Released!!

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)

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
4 [报告]
发表于 2008-10-05 19:33 |只看该作者

FastDFS V1.11 Release

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

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
5 [报告]
发表于 2008-11-13 18:16 |只看该作者

FastDFS stable版本V1.12 发布!!!

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
欢迎大家下载测试和使用!

论坛徽章:
0
6 [报告]
发表于 2008-11-13 22:20 |只看该作者
目前还用不到,赞一个,希望更多的使用者可以使用并使之更完善~

论坛徽章:
4
2015年辞旧岁徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT运维版块每日发帖之星
日期:2016-08-11 06:20:00IT运维版块每日发帖之星
日期:2016-08-15 06:20:00
7 [报告]
发表于 2008-12-01 09:22 |只看该作者

FastDFS stable版本V1.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

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
8 [报告]
发表于 2008-12-01 10:32 |只看该作者
这个比较不错,虽然还不是特别的完善,但是推荐大家试用一下子。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP