Network Considerations


Controlling Network Bandwidth and Usage

It can be useful to regulate the amount of bandwidth used by server processes such as the RTserver and RTgms in your system. To regulate RTserver and RTgms bandwidth usage, a token bucket algorithm is used as a model. Tokens are accumulated steadily as time passes. The amount of data the RTserver or RTgms process is permitted to pass into the network for a particular connection is indicated by the number of tokens that have accumulated for that connection. Each token is a byte of data.

Bandwidth Rate Control Options

Several options have been added to implement this model. For each type of connection that an RTserver has (to an RTclient, to another RTserver, to an RTgms process), there is:

When you set these options for an RTserver, they apply to the data and messages RTserver sends across the specific type of connection. They do not apply to data or messages received by the RTserver.

These options also exist for RTgms, for the group channel between an RTgms process and an RTserver. When you set these options for RTgms, they apply only to the data and multicast messages RTgms sends up the group channel to an RTserver.

For more information, see the reference material on these options in Chapter 8, Options Reference:

Setting Bandwidth Rate Control Options

For connections from the RTserver, these options are set in the RTserver startup command file(rtserver.cm) and apply to all connections of each type (RTclient, RTserver, RTgms). To set the options for an individual connection, you can set them dynamically with the T_MT_ADMIN_SET_OUTBOUND_RATE_PARAMS message.

For the group channel from an RTgms process to an RTserver, these options are set in the RTgms startup command file (rtgms.cm) and apply to all group connections. To set the options for an individual group connection, you can set them dynamically with the T_MT_GRP_ADMIN_SET_OUTBOUND_RATE_PARAMS message.

When you send an ADMIN_SET message to a particular RTserver or RTgms process, the options apply to outbound data sent on the specified connection.

For example, if there is a group channel between an RTserver and an RTgms process, using T_MT_ADMIN_SET_OUTBOUND_RATE_PARAMS and specifying a group name sets the options for RTserver for that group channel, controlling the data the RTserver sends to RTgms.

If you use T_MT_GRP_ADMIN_SET_OUTBOUND_RATE_PARAMS and specify the same group name, the options are set for RTgms, and control the data the RTgms sends to RTserver on that same group channel. To control the bandwidth in both directions for a group channel, you must set bandwidth rate control options for both the RTserver and the RTgms.

For a description of the ADMIN_SET message for RTserver, see RTserver Options in Chapter 8, Options Reference. For a description of the ADMIN_SET message for RTgms, see RTgms Options in Chapter 10, Using Multicast.

Handling Network Failures In Publish Subscribe

RTserver and RTclient can take full advantage of the features of connections that detect and recover from network failures. For an introduction to these features, see Handling Network Failures In Publish Subscribe.

Many of the RTserver and RTclient features already discussed in this chapter help to add fault tolerance to SmartSockets:

In addition to the above features, both RTclient and RTserver have several additional options that can be easily configured to add fault tolerance.

RTclient Options

In addition to the already mentioned fault tolerance features, these convenient options can be used to help RTclient check for network failures:

RTserver Options

In addition to the already mentioned fault tolerance features, these options can be used to help RTserver check for network failures:


TIBCO SmartSockets™ User’s Guide
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com