How to find the “Current Backlog” and “Peak Backlog” size on a rvrd neighbor link?

How to find the “Current Backlog” and “Peak Backlog” size on a rvrd neighbor link?

book

Article ID: KB0089393

calendar_today

Updated On:

Products Versions
TIBCO Rendezvous -
Not Applicable -

Description

Resolution:
Description:
==========

Other than using the rvrd http interface, is there a way to get the “Current Backlog” and “Peak Backlog” of a neighbor link programmatically?

Environment:
============

RV 7.x and RV 8.x

Resolution:
============

You can use the RV Configuration API.  For the current backlog information, you can use the method NeighborInterface.getBacklog() to get the size of the current backlog on the neighbor link.  Backlog is the set of messages waiting for transfer from one router to a neighboring router.  This call returns a snapshot size (in bytes) of the backlog — that is, the sum of the sizes of all waiting messages.

For the peak backlog information you can use the method Router.getMaxBacklog() to get the maximum backlog (in kilobytes).  Zero indicates that the backlog protection feature is disabled.

Please refer to the TIBCO RV Configuration Tools manual, Chapter 4: Routing Daemon-rvrd, for more information on available Java interfaces and methods for rvrd.

Issue/Introduction

How to find the “Current Backlog” and “Peak Backlog” size on a rvrd neighbor link?