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.137 by root, Wed Mar 21 23:48:39 2012 UTC vs.
Revision 1.138 by root, Thu Mar 22 00:48:29 2012 UTC

1317 1317
1318Not opening a connection to every other node is usually an advantage, 1318Not opening a connection to every other node is usually an advantage,
1319except when you need the lower latency of an already established 1319except when you need the lower latency of an already established
1320connection. To ensure a node establishes a connection to another node, 1320connection. To ensure a node establishes a connection to another node,
1321you can monitor the node port (C<mon $node, ...>), which will attempt to 1321you can monitor the node port (C<mon $node, ...>), which will attempt to
1322create the connection (And notify you when the connection fails). 1322create the connection (and notify you when the connection fails).
1323 1323
1324=item Listener-less nodes are gone. 1324=item Listener-less nodes (nodes without binds) are gone.
1325 1325
1326And are not coming back, at least not in their old form. 1326And are not coming back, at least not in their old form. If no C<binds>
1327are specified for a node, AnyEvent::MP now assumes a default of C<*:*>.
1327 1328
1328There are vague plans to implement some form of routing domains, which 1329There are vague plans to implement some form of routing domains, which
1329might or might not bring back listener-less nodes, but don't count on it. 1330might or might not bring back listener-less nodes, but don't count on it.
1330 1331
1331The fact that most connections are now optional somewhat mitigates this, 1332The fact that most connections are now optional somewhat mitigates this,
1332as a node can be effectively unreachable from the outside without any 1333as a node can be effectively unreachable from the outside without any
1333problems, as long as it isn't a global node and only reaches out to other 1334problems, as long as it isn't a global node and only reaches out to other
1334nodes (as opposed to being contacted from other nodes). 1335nodes (as opposed to being contacted from other nodes).
1335 1336
1337=item $AnyEvent::MP::Kernel::WARN has gone.
1338
1339AnyEvent has acquired a logging framework (L<AnyEvent::Log>), and AEMP now
1340uses this, and so should your programs.
1341
1342Every module now documents what kinds of messages it generates, with
1343AnyEvent::MP acting as a catch all.
1344
1345On the positive side, this means that instead of setting
1346C<PERL_ANYEVENT_MP_WARNLEVEL>, you can get away by setting C<AE_VERBOSE>,
1347much less to type.
1348
1336=back 1349=back
1337 1350
1338=head1 SEE ALSO 1351=head1 SEE ALSO
1339 1352
1340L<AnyEvent::MP::Intro> - a gentle introduction. 1353L<AnyEvent::MP::Intro> - a gentle introduction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines