Menu

#11 How unique should we make GroupSite names?

open
nobody
None
5
2006-10-08
2006-10-08
No

Right now we register a new site with a
RendezvousServer as the domain name [GROUP@HOST:PORT].
Meaning infoHash key is the domain name. One possible
problem is that a user can start N sites with the same
groupname where N is the amount of avialable ports in
the user's range. This will function perfectly fine and
does give more flexibility to the users but can be
confusing.

The other two options are to register sites with either
[GROUP@HOST] - enforces unique group names per
machine - info.getGroupname()+"@"+info.getHost();
or
[GROUP] - enforces unique group names per
RendezvousServer - info.getGroupname();

To update this functionality multiple places need to be
changed are in net.RendezvousServer:
.registerRendezvous()
.removeRendezvous()
.getRendezvousInfo()
net.RendezvousServer.Validator

Discussion


Log in to post a comment.

MongoDB Logo MongoDB