-
Notifications
You must be signed in to change notification settings - Fork 62
Guide: “Running an IPFS pinning service and making it fast” #62
Comments
Some useful basics to make sure we cover:
|
Maybe also with an optional part about how to mount a mutable folder... |
@lgierth and @hsanjuan does our advice here basically boil down to "use IPFS Cluster"?
|
An important question is probably "what kind of IPFS pinning service" -- do you want to offer it to others, do you just want host a bunch of your own stuff, etc. They come at different levels of seriousness, and are a complexity trade-off. I.e. to my knowledge cluster isn't of terribly much use below 3 nodes (@hsanjuan confirm), but setting up 3 nodes and clustering is quite the entry barrier.
How to build/operate storage in general: RAID, NAS, HDD/SSD/NVMe/Flash, filesystems, monitoring |
This gets straight into data structures and IPLD land :) Which is great - every big data structure is its own beast. We've made optimizations for a couple of different scenarios by now:
There are also specific datasets that we currently have issues with, e.g. the wikipedia-on-ipfs datasets are terribly slow to fetch and pin, and we're not yet sure why. That Stanford dataset of Jack's was also pretty nasty to IPFS but we eventually managed with a big machine. Interesting thing to convey will be "how to actually see that it's pinning performantly). |
It all depends on how cluster feature set matches the pinning service requirements. Also, note that we haven't scaled cluster with, say, millions of pins... |
I just outlined one of our mission-critical processes over at: https://discuss.ipfs.io/t/millions-of-pins-in-a-transient-ipfs-cluster/2494 There I explain how and why we will have millions of pins. FYI, I plan to be testing this in early May. |
Personally I am interested in the explanation on why pinning to object store isn't an option. It seems obvious but for whatever reason no one says why it isn't documented. |
You can. You'd have to configure go-ipfs to use https://github.com/ipfs/go-ds-s3 (will require some code modification to set it up). It's not documented because it hasn't been really been tested and/or integrated (we don't use it internally and have higher priority issues at the moment). |
Still not clear what hw requirements are for running ipfs as a nas, or, instead of it. |
Closing due to overlap with #94. Also noting that substantial development has been made on Cluster since this issue was originally opened. |
This issue is part of Epic 3B: Fixes from legacy issue queue.
Or: how to run IPFS on a server so stuff stays online when your computer goes offline.
This is from a discussion on Slack with @flyingzumwalt. Keeping it here so we don’t lose track of it.
The text was updated successfully, but these errors were encountered: