shubhamshuklaer / load_balancer

A Distributed Load Balancer
GNU General Public License v3.0
0 stars 0 forks source link

Test for some other network topology #11

Closed shubhamshuklaer closed 8 years ago

shubhamshuklaer commented 8 years ago

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.

shubhamshuklaer commented 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.

shubhamshuklaer commented 8 years ago

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.

shubhamshuklaer commented 8 years ago

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)