Skip to content

Commit

Permalink
add peer_id and host
Browse files Browse the repository at this point in the history
  • Loading branch information
sjqzhang committed Feb 1, 2019
1 parent 6455b71 commit 2a0b9e7
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 51 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- 类fastdfs
- 高性能 (使用leveldb作为kv库)
- 高可靠(设计极其简单,使用成熟组件)
- 无中心设计
- 无中心设计(节点都可以同时读写)

# 优点

Expand Down Expand Up @@ -154,6 +154,20 @@ cd fastdfs/data && find -type f |xargs -n 1 -I {} curl -F file=@data/{} -F path=
```

- 如何搭建集群?
```
一、先下载已编译的可执行文件(用最新版本)
二、运行可执行文件(生成配置)
三、修改配置
peers:增加对端的http地址
检查:
host:自动生成是否正确
peer_id:集群内是否唯一
四、重新运行服器
五、验证服务是否OK
```


- 适合海量存储吗?
```
答案:适合海量存储
Expand Down
Loading

0 comments on commit 2a0b9e7

Please sign in to comment.