hetianyi / godfs Goto Github PK
View Code? Open in Web Editor NEWA simple fast, easy use distributed file system written in go.
License: Apache License 2.0
A simple fast, easy use distributed file system written in go.
License: Apache License 2.0
没看明白token如何使用,可否详细说明下,如何提交和获取呀
是否可以给一个在go中使用api的案例? 还有如何迁移数据?
目前学过一段时间的go了, 然后对dfs 类系统兴趣较大,请问应该怎么入手学习? 以及如何开始一个 分布式系统的设计与开发?
我是否能够关闭 tracker ,单独运行 storage,但是这样storage内会报错?
no db file。
安装一切都成功了,可是提示没有db file。
[root@localhost godfs]# /usr/local/godfs/bin/tracker -c /usr/local/godfs/conf/tracker.conf
INFO - 2019-10-21 19:31:06,340 [tracker.go:32] using config file: /usr/local/godfs/conf/tracker.conf
INFO - 2019-10-21 19:31:06,341 [base_dao.go:54] no db file found, init db file from template.
see title
我使用docker 安装完, 容器启动 ,可以使用curl 来上传文件
但是怎么下载文件呢??
还是要在容器外在完整的安装一遍??
docker 部署之后:
目前我是在单机,而且只有一个 stroage,为什么每次我上传是通过 stroage上传,下载也是通过 stroage 下载,那么 tracker 有什么作用?
只是做多个 stroage 之间的同步么?
如果是多个 storage 那么我该如何确定到底访问哪一个去上传/下载资源?
RT
需求,上传的文件可以在系统内打开,系统外不能打开或者可以设置有效期
curl -v -F "file=@/home/xxxx/tmpfiles/test.bin" "http://192.168.2.58:1024/upload/"
POST /upload/ HTTP/1.1
User-Agent: curl/7.35.0
Host: 192.168.2.58:1024
Accept: /
Content-Length: 1048776
Expect: 100-continue
Content-Type: multipart/form-data; boundary=------------------------ae65b7cb65f4f67e
在197f44b这个版本,svc/binlog_synchronizer.go文件中, watch方法250行,这里写了Binlog为什么要写dataset呢? 我理解的是,Binlog记录的是文件的元数据, dataset记录的是文件内容本身是否存在, 这里watch的方法的作用是找其他存储服务器同步文件的元数据而非文件内容本身, 文件内容的同步有svc/file_synchronizer.go下229行sync_file来完成, 是否在这里而非svc/binlog_synchronizer.go watch 250行 写dataset会更合理呢?
项目有交流群么?
golang客户端什么时候有?
能像阿里云oss一样访问文件吗,比如生成一个外网可访问的链接
see title.
要能可以mount就好了,就像普通磁盘可以挂载,可以取消,数据能自动同步,分布式
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.