Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 8 Transport : Direct Communication

Direct Communication
Release 7 introduced direct communication capabilities between two network transport objects.
Overview
With direct communication, two application programs can conduct eligible point-to-point communications without intermediary Rendezvous daemon (rvd) processes. This arrangement can decrease message latency and context switching for point-to-point messages.
Figure 13 contrasts the route of a point-to-point message with direct communication against the same message with regular communication (through rvd). In the path through rvd, each of the two daemons could add a small delay. The direct path avoids these sources of potential delay.
Figure 13 Direct Communication between Two Programs
 
Direct communication uses RPTP over a UDP channel.
Usage
To enable direct communication, specify a two-part service parameter when creating the transport object:
Eligibility
All eligible messages automatically use direct communication, traveling directly between the two programs. All ineligible messages flow through rvd.
A message is eligible for direct communication if it meets all of these conditions:
The message has an inbox destination subject.
 
A transport object is eligible for direct communication if it meets all of these conditions:
The transport is enabled for direct communication (that is, it has a two-part service parameter).
Note that a program can enable a transport only if program links release 7 (or later) of the Rendezvous API library.
The transport connects either to a local daemon, or to a TIBCO Messaging Appliance™ P-7500.
Restrictions
Both the sending and receiving transport objects must enable direct communication. If only one of the two transports enables direct communication, then point-to-point messages between them flow through rvd.
Direct communication is not available for transport objects that connect to remote daemons. (However, it is available for transports that connect remotely to a TIBCO Messaging Appliance P-7500.)
When the path between two transports crosses a routing daemon (rvrd), direct communication is not available between those transports. Even if both transports enable direct communication, point-to-point messages still flow through rvd and rvrd.
Direct communication applies only to point-to-point messages (that is, messages with inbox destinations) between two enabled transports.
Nonetheless, messages on a virtual circuit always travel point-to-point—even messages with public subject names. The virtual circuit terminals wrap all messages within internal point-to-point messages. So a virtual circuit that employs enabled transports at both terminals always reaps the benefits of direct communication.
Cost
Each enabled transport consumes a UDP port.
See Also
Specifying Direct Communication
Remote Daemon

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved