Menu

name-service

Dawen Liang

Home

Name Service

Design

Name Service

The edu.cmu.cs.floctrl.name package contains the utilities for name service in the whole federation. Contains classes to manage and list the names of nodes and supernodes in a floctrl federation.

The federation namespace is maintained by passing messages using (publish-subscribe message system](publish-subscribe) about name updates between nodes and supernodes. The protocol works as follows:

  • When a node connects to a supernode, it sends a message with its name. The supernode replies with the current set of all names and sends its updated local name set to all other supernodes. The supernode's messages are sent internally, but the initial message must be sent by the connection or initialization code. The same process is followed when a node is deleted.

  • When a supernode receives a new set of local names from another supernode, it replaces that supernode's entry in its name set and sends the updated full name set to its child nodes. This is all handled internally.

  • When a supernode first connects to other supernodes, it sends its local names to all other supernodes. These messages must be sent by the connection or initialization code.

Home


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.