New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPFS Node topology-based pinning strategy #159
Comments
Yes, currently we do not have a pinning strategy that provides this, but it's easy to do. I mark this issue as ready so it can be worked on. |
Implementation hints:
|
well reading the documentation, I see you could use a cluster as a daemon so you could group nodes creating diferent clusters. 1- Agree |
True, you can do cluster-composition, where one of the cluster peers of a cluster appears as an ipfs node to a different cluster. The higher cluster would use "pin everywhere" replication, and each sub-cluster would be a region (for example) with replication factor 1 (for example). This would make a pin to be replicated in every region, and for each region, one of the available nodes would be selected. It adds a layer of complexity though. |
@segator, most-free strategy is the default |
In some cases you would want to choice specific nodes to pin replication. Think the case you use JBOD and have 1 IPFS Daemon per disk, and also have multiple machines.
You would want to avoid ipfs cluster replicate a file in same machine diferent disks, you would want always to pin the file in diferent hosts and even maybe diferent region hosts.
I was looking into the documentation but I dind't found anything and could be awesome, because I am afraid to use a overlayFS over multiple drives as a single IPFS Repository, if one disk fail you could lose all the reopsitory located in the machine and you will need to redownload it again. In the case I say, you should only need to redownload the failed drive.
The text was updated successfully, but these errors were encountered: