Comments (1)
tracker的作用并不是网关,而是协调文件的组内同步和文件查询,上传下载都是直接和storage交互,如果不想直接和storage交互,可以使用nginx作为统一网关,与tracker和storage进行通讯。
多个storage:
group相同的实例会相互进行文件同步,直至最终达成一致状态。
可以在上传的时候指定group来确定文件上传到哪一个组,如果一个组有多个storage实例,则随机选择一个进行上传下载。
每个storage均可以进行下载,但是可以通过参数upload_enable
则能够控制是否能够上传。
可以参考代码中的集群示例来进行网关的自动化配置,docker镜像为:hehety/nginx:godfs,通过此网关则无需关心去哪个实例去下载上传。
from godfs.
Related Issues (20)
- What's the purpose of tracker in godfs? HOT 1
- add vendor
- docker 在这有什么用 HOT 1
- 为什么用sqlite而不用其它性能更好的K/V存储库? HOT 5
- golang客户端什么时候有? HOT 1
- 建议要能可以mount HOT 3
- 请问secret=OASAD834jA97AAQE761==是如何生成的? HOT 3
- zhhx1234
- godfs运行后,不能上传文件 HOT 3
- 使用curl无法上传文件 HOT 1
- 如何在go中调用? HOT 1
- 是否能关闭tracker? HOT 4
- 请问godfs支持访问控制么,比如token机制 HOT 6
- 能像阿里云oss一样访问文件吗 HOT 1
- token问题 HOT 1
- 项目有交流群么? HOT 1
- [base_dao.go:58] error prepare db file: open source file failed HOT 2
- 最近想学分布式文件系统相关知识, 想向作者请假一下该怎么学习?需要哪些储备知识? HOT 1
- binlog同步时,dataset为什么要修改?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godfs.