-
Notifications
You must be signed in to change notification settings - Fork 338
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
partial full connectivity upload/download #67
Comments
There's a few problems with this ticket:
|
This, then, must be possible to switch off
If the loner node's address is closest to the chunk, he stores the chunk
Can you clarify this? All of the above answers (and the ticket itself) assume that it is trivial to make a node to be only connected to one other node. If this is not the case, perhaps, the ability to do forwarding is best satisfied after we have implemented Kademlia. Certainly, it is not worth adding additional complexity to the code, just for allowing a node to have just one connection. If, however, this feature is useful (perhaps for testing or something else), it might be worth putting this effort. Tagging @janos , as he perhaps has a better idea on the technical implementation of this issue. |
does not compute. at least, not very clearly. if it is within this node's responsibility to store something on the network level, then it infers this node participates in the topology, which also means this node should try and connect to as much nodes as it can, because if it consents to assuming the responsibilities of being a member of an arbitrary nearest neighbourhood, then it means it should also bear the responsibility of connecting to other nodes in that neighbourhood too (and make itself available for the other nodes in the neighbourhood to connect with) |
The ability to do forwarding will be implemented in the current iteration of push sync. What you are describing here is not forwarding per se, because forwarding means |
I suggest we have a conversation with @janos , as he agreed with this definition of the user story. I see you are raising technical issues with the actual implementation, so let's wait and see what he thinks about it. If it indeed is not wise to implement now, I see two possibilities
Do you have another suggestion? |
Sorry for late response. I think that this epic is only about forwarding to the closest node and that more complex forwarding can be added explicitly with other tasks to address edge cases and more complex algorithms, kademlia forwarding with other parameters as price based forwarding and maybe some other types if we have more ideas. |
Epic
Story
As a Swarm node which is only connected to one other Swarm node, I want that my chunk is stored at the node whose address is closest to the address of the chunk, such that anybody who requests the chunk afterwards, knows where to find this chunk.
Background
This epic builds on top of #48 and #49, but adds the forwarding of push-sync and retrieval messages. If a node is only connected to one other Swarm node, this one Swarm node always must forward the push-sync/retrieval messages.
Acceptance criteria
The text was updated successfully, but these errors were encountered: