Closed shubhamshuklaer closed 8 years ago
Distributing even in case of completly connected graph is not easy. Nodes will have to decide how much to send for each edge... very difficult without a leader.
For hypercube it very easy to make. Neighbor broadcast will be there just while adding neighbor add only those whose ip differ in one bit.
But docker containers needs to be assigned ip according to grey code. For eg for 2d cube ip should be 0,1,11(3),10(2)
For completely connected graph each node can know about the load on every other node and then they can decide how much load each node should have and then they can distribute it according to that.