Giter Site home page Giter Site logo

docker部署api获取 about godfs HOT 1 CLOSED

93Alliance avatar 93Alliance commented on May 13, 2024
docker部署api获取

from godfs.

Comments (1)

hetianyi avatar hetianyi commented on May 13, 2024

tracker的作用并不是网关,而是协调文件的组内同步和文件查询,上传下载都是直接和storage交互,如果不想直接和storage交互,可以使用nginx作为统一网关,与tracker和storage进行通讯。
多个storage:
group相同的实例会相互进行文件同步,直至最终达成一致状态。
可以在上传的时候指定group来确定文件上传到哪一个组,如果一个组有多个storage实例,则随机选择一个进行上传下载。
每个storage均可以进行下载,但是可以通过参数upload_enable则能够控制是否能够上传。
可以参考代码中的集群示例来进行网关的自动化配置,docker镜像为:hehety/nginx:godfs,通过此网关则无需关心去哪个实例去下载上传。

from godfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.