免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: happy_fish100

[FastDFS] FastDHT-高效分布式Hash系统 [复制链接]

论坛徽章:
0
发表于 2009-06-25 13:49 |显示全部楼层
同问

论坛徽章:
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
发表于 2009-06-30 15:58 |显示全部楼层
原帖由 flat_peach 于 2009-6-19 10:04 发表
请问LZ这个与 FastDFS 是什么关系 ?


FastDHT是分布式Hash存储系统,FastDFS是分布式文件存储系统。
如果你需要相同文件内容的文件只保存一份时,FastDFS使用FastDHT来存储文件的签名(类似MD5)等信息。

论坛徽章:
0
发表于 2009-07-02 00:18 |显示全部楼层
原帖由 flat_peach 于 2009-6-19 10:04 发表
请问LZ这个与 FastDFS 是什么关系 ?



我也有相同的疑问啊

论坛徽章:
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
发表于 2009-07-02 11:26 |显示全部楼层

FastDHT V1.09 版发布!

Version 1.09  2009-07-01
* correct php extension error info
* fdht_compress.c: make sure syncing is done
* add shell script: stop.sh, restart.sh modified
* add fdhtd as service in Linux platform
* correct get local ip addresses
* common files do not use global vars like g_network_timeout and g_base_path
* fdht_compress.c: use {base_path}/tmp as sort temporary path instead of /tmp
* sync.c: check binlog file format when reading
* client can use proxy for FastDHT
* cache size not division by g_db_count
* protocol add stat cmd
* client retry connect when connection is not connected and keep_alive is true
* multi db use only one env
* support MPOOL (memory only cache as memcached)
* when max_threads set 1, use process instead of thread
* client use non-block socket to increase performance
* hash.c use chain impl by self
* bugfix: never expired / persistent keys not be cleared when clear expired keys
* inc use thread lock for atomicity
* mpool use rwlock, support multi-threads
* change work thread mode
* stat cmd add more info

论坛徽章:
0
发表于 2009-07-09 21:25 |显示全部楼层
学习学习,呵呵。

论坛徽章:
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
发表于 2009-07-23 11:52 |显示全部楼层

FastDHT V1.10 版发布!

Version 1.10  2009-07-19
* ini reader support HTTP protocol, conf file can be an url
* hash does not use macro: HASH_MALLOC_VALUE, add member is_malloc_value
* sockopt.c sendfile and recvfile support non-block socket
* sync.c call tcpsetnonblock after connect
* bug fix: sockopt.c do not set non-block in function tcpsetserveropt
* fdht_compress.c: change global static variable names to avoid conflict

论坛徽章:
0
发表于 2009-08-10 01:03 |显示全部楼层
想问问快乐鱼是否做过FASTDHT的压力测试,对于一套TPS超过12000的集群系统来说,FASTDHT合适和胜任吗?

论坛徽章:
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
发表于 2009-08-10 08:58 |显示全部楼层
原帖由 sopato 于 2009-8-10 01:03 发表
想问问快乐鱼是否做过FASTDHT的压力测试,对于一套TPS超过12000的集群系统来说,FASTDHT合适和胜任吗?

做过压力测试的,MPOOL(纯缓存方式)下和memcached做过对比测试,性能不比memcached差。单机QPS是10K级的。

[ 本帖最后由 happy_fish100 于 2009-8-10 09:00 编辑 ]

论坛徽章:
0
发表于 2009-08-11 10:12 |显示全部楼层
请问put的速度能有多少?楼主用过BAMBOO DHT吗?

论坛徽章:
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
发表于 2009-08-11 21:44 |显示全部楼层
原帖由 airzhutao 于 2009-8-11 10:12 发表
请问put的速度能有多少?楼主用过BAMBOO DHT吗?


MPOOL方式不比memcached慢吧,BDB方式稍稍慢一些。
对BAMBOO DHT没有研究过。今天看了一下BAMBOO DHT,用java写的吧。性能上应该比不过FastDHT。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP