Hello Michael and Matt,
I have implemented the symmetric replication scheme too.
When the replication factor does not divide the network size I manage it
like this (illustration through an example) :
NetSize = 11
RepFactor = 3
I define a virtual network size as :
VirtualNetSize = NetSize - NetSize mod RepFactor
So here, we have a virtual network of size 9, and the replication factor
divides it.
We can though define the classes :
{0,3,6}, {1,4,7} and {2,5,8}
The keys in the virtual network are called virtual keys.
I consider that only virtual keys exist [0..8] and replication works
with the virtual network size.
The remaining keys (9 and 10) are just mapped to virtual key 0.
So items with keys 9 and 10 will be stored at the nodes responsible
for {0,3,6}
Hope that helps,
Julien.
_______________________________________________
p2p-hackers mailing list
[email protected]
http://zgp.org/mailman/listinfo/p2p-hackers
_______________________________________________
Here is a web page listing P2P Conferences:
http://www.neurogrid.net/twiki/bin/view/Main/PeerToPeerConferences