Next: SynchronisedObject
Up: Server Classes
Previous: GossipServer
  Contents
The first idea for a remote administration interface was a program
that connected to the server like any other server and sent a series
of <addServer> messages for each server it found in a
configuration file. This configuration file could be the list of
servers used to bootstrap the server, or a very simple extension to the
server could be made to cause it to save a list of servers about which
it currently knows, at regular intervals.
The advantages of this method are that no additional server code is
required as it already knows how to handle <addServer> messages
and only one server administrator in a partition needs to ``prod''
their server as <addServer> messages are automatically propagated.
Initially this approach was not successful as the server lacks the
necessary RTT information for those servers to allow it to calculate
the minimum spanning tree. Ordinarily this would not be a problem: the
server has the RTT information from itself to those servers, but in
order to ensure every server generates the same minimum spanning tree,
the algorithm begins with the first server in the list (which is
stored in alphabetical order). The way in which the algorithm proceeds
then means that unless a server in the tree already has an edge to a
server not in the tree, even if the server not in the tree has an arc
back to the server in the tree, that server will never get added. The
solution to this problem was to make the values of the arcs the same
in both directions where the value in one direction is missing.
Next: SynchronisedObject
Up: Server Classes
Previous: GossipServer
  Contents
Nathan Dimmock
2001-06-20