ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent-MP/MP.pm
(Generate patch)

Comparing AnyEvent-MP/MP.pm (file contents):
Revision 1.83 by root, Tue Sep 8 01:38:16 2009 UTC vs.
Revision 1.85 by root, Tue Sep 8 01:54:13 2009 UTC

83 83
84Nodes are either public (have one or more listening ports) or private 84Nodes are either public (have one or more listening ports) or private
85(no listening ports). Private nodes cannot talk to other private nodes 85(no listening ports). Private nodes cannot talk to other private nodes
86currently. 86currently.
87 87
88=item node ID - C<[a-za-Z0-9_\-.:]+> 88=item node ID - C<[A-Z_][a-zA-Z0-9_\-.:]*>
89 89
90A node ID is a string that uniquely identifies the node within a 90A node ID is a string that uniquely identifies the node within a
91network. Depending on the configuration used, node IDs can look like a 91network. Depending on the configuration used, node IDs can look like a
92hostname, a hostname and a port, or a random string. AnyEvent::MP itself 92hostname, a hostname and a port, or a random string. AnyEvent::MP itself
93doesn't interpret node IDs in any way. 93doesn't interpret node IDs in any way.
112In addition to discovering the network, seed nodes are also used to 112In addition to discovering the network, seed nodes are also used to
113maintain the network and to connect nodes that otherwise would have 113maintain the network and to connect nodes that otherwise would have
114trouble connecting. They form the backbone of the AnyEvent::MP network. 114trouble connecting. They form the backbone of the AnyEvent::MP network.
115 115
116Seed nodes are expected to be long-running, and at least one seed node 116Seed nodes are expected to be long-running, and at least one seed node
117should always be available. 117should always be available. They should also be relatively responsive - a
118seed node that blocks for long periods will slow down everybody else.
118 119
119=item seeds - C<host:port> 120=item seeds - C<host:port>
120 121
121Seeds are transport endpoint(s) (usually a hostname/IP address and a 122Seeds are transport endpoint(s) (usually a hostname/IP address and a
122TCP port) of nodes thta should be used as seed nodes. 123TCP port) of nodes thta should be used as seed nodes.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines