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