GithubHelp home page GithubHelp logo

Comments (9)

hsanjuan avatar hsanjuan commented on June 14, 2024

@20zinnm you were looking for ways to contribute? Would you like to take at stab at this? It is a good starting point to get familiar with Cluster.

from ipfs-cluster.

meyerzinn avatar meyerzinn commented on June 14, 2024

I can take a look at it @hsanjuan.

from ipfs-cluster.

meyerzinn avatar meyerzinn commented on June 14, 2024

@hsanjuan To be clear, does creating a new Informer/Allocator include implementing it, or can clusters deal with incompatibilities?

from ipfs-cluster.

meyerzinn avatar meyerzinn commented on June 14, 2024

Also, I think we need to clean up the project layout.

from ipfs-cluster.

hsanjuan avatar hsanjuan commented on June 14, 2024

@20zinnm What do you mean incompatibilities?

And yes, creating means implementing it.

from ipfs-cluster.

meyerzinn avatar meyerzinn commented on June 14, 2024

So what, exactly, do I need to implement?
I followed the chain and figured I needed to update (a) the rpc, (b) the HTTP server. Am I missing something? @hsanjuan

from ipfs-cluster.

hsanjuan avatar hsanjuan commented on June 14, 2024

@20zinnm no, you just need create two modules, one Allocator and one Informer which implement the respective interfaces as the numpinalloc and numpin do. You don't need to worry about anything else in Cluster. Everything is linked above. These modules should cluster to work with a disk-space allocation strategy which would pin to the peers with more free space.

from ipfs-cluster.

meyerzinn avatar meyerzinn commented on June 14, 2024

@hsanjuan So say I'd like to make a capacity informer to allow peers to broadcast a quantifiable capacity. Would I then need to add to the protocol?

from ipfs-cluster.

hsanjuan avatar hsanjuan commented on June 14, 2024

@20zinnm you just need to implement the informer and the allocator. The informer has a GetMetric() method which gets regularly called.

from ipfs-cluster.

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.