Tip

How to analyze the RPC traffic of your own server-based applications

How to analyze the RPC traffic of your own server-based applications

From "Strategies for reducing Notes/Domino network bandwidth requirements � how IBM does it," by John Lamb, which originally appeared in the January/February 2000 edition of The View, http://www.eview.com.


Analyzing the RPC traffic between the client and server can help to answer performance issues on server-based applications. There are at least three reasons to strive to eliminate RPC calls.


-They contribute to perceived response time.
-Each call is subject to network delays and failure.
-Each RPC generates load on the network and on the server.

Take the time to analyze the RPC traffic generated by your applications to ensure that you are making efficient use of network and server resources. On Lotus Notes clients R4.5 and higher for Windows 95 or 98, you can use an undocumented (and therefore non-supported) feature of the Notes client to track RPC activity. Add the following three entries to your NOTES.INI file:


Client_Clock=1
Debug_Console=1
Debug_Outfile=filename
(e.g. Filename=Ndebug.txt which will be created in your Notes directory)

The Debug_Outfile entry (which is optional) will direct RPC log output to the filename specified.

When you bring up Notes with these added entries, new windows showing Notes activities will open. When you access a remote database, the debug window showing RPC commands will open. The debug window corresponds to the information that will be written to the Debug_Outfile log file you specified. Here is the format of the entries in the windows and log file.


(sequential number), RPC_NAME, time to complete, [bytes_sent+bytes_received=total]

To remove RPC monitoring, do not close the debug windows manually (they close when you exit Notes). Remove the statements you added to the INI files, and restart Notes.


This was first published in July 2000

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.