-
Notifications
You must be signed in to change notification settings - Fork 9
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 swarm and ipfs-cluster #34
Comments
IPFS runs autodiscovery (mDNS), so the nodes in your LAN would probably be autodiscovered first. You can use When you add your ipfs-cluster as it is right now is just an idea (there is no tool atm) which we are going to work on. ipfs-cluster should allow to handle data mirroring among different nodes and to compose clusters of ipfs nodes by providing a ipfs api layer on top of them. |
Is my premise correct :
Given three ipfs installations on same LAN : n1,n2,n3 (node1,node2,node3)
In order to connect these nodes together to form a 3 node 'cluster' I run:
on n1
ipfs swarm connect n2
ipfs swarm connect n3
But I could also have connected the nodes using :
on n2
ipfs swarm connect n1
ipfs swarm connect n3
or
on n3
ipfs swarm connect n1
ipfs swarm connect n2
So ipfs swarm connect is a bi-directional connection.
By 'connect' I mean when I execute 'ipfs add f1' on n1,n2 or n3 where f1 is a 1GB file , f1 will be split into three pieces distributed on nodes n1,n2,n3.
Is my premise correct ?
Is ipfs-cluster then a management tool for nodes connected via ipfs swarm ?
The text was updated successfully, but these errors were encountered: