NET/MASTER RMS Management and Operations Guide
Implementing a Ruleset for a Message Handler
Getting Started
115415 NonStop NET/MASTER RMS Management and Operations Guide 4–23
Factors That Can Affect the
Performance of a Message
Handler
While developing your ruleset, you need to consider the following factors that affect
the performance of your message handler:
Using wild-card characters in the trigger criteria means that the handler has to
accommodate a large number of rule triggering possibilities. Minimize the use of
wild-card characters. Use the STATSCAP ruleset to identify your trigger events.
Using dynamic rules can slow down the processing of messages. Minimize the
use of dynamic rules with a message handler that operates in an environment
where the message-flow rate is high (for example, EMSPROC). You may only
want to use the dynamic rules in special circumstances. When the special
circumstances have passed and you do not need the dynamic rules any more, you
can replace the ruleset containing the dynamic rules by another ruleset containing
no dynamic rules. You can do this automatically as part of the rule actions.
Changing a ruleset dynamically (either by changing some characteristics of the
ruleset or by replacing the whole ruleset) affects performance. Minimize the
number of changes that are made at any one time.
If you do not need the statistics on a message handler, disable them using the
control options of the ruleset.
Using user-defined NCL procedures before RMS processing is performed allows
more efficient message filtering and global alteration of messages. You specify the
NCL procedure in the Pre-Processing NCL Exit field on the RMS : Control Options
Definition—Suppression panel.
The EMSPROC message handler generates an EMS filter table to improve
performance of the handler by reducing the amount of message traffic into
NonStop NET/MASTER MS and RMS. For the EMS filter table to be effective, the
following conditions must apply:
The EMS distributor is running during the initialization of the EMSPROC
message handler. For more information on starting and stopping the EMS
distributor, refer to the NonStop NET/MASTER MS Command Reference Manual.
Statistics on message flow are not captured.
Rulesets do not contain MDO rules, generic rules, or dynamic rules.
When these conditions are met, an EMS filter table is generated according to the
message-delivery philosophy of the ruleset:
If the message-delivery philosophy is set to NEGATIVE, the filter table is type
PASS. Messages associated with the defined rules will pass the filter. Rulesets
must not contain a default delivery exit NCL procedure to process messages
that are not accounted for by rules.