Controlling the Pulse Rate for Viewing a Stream

When a data stream contains few items with a high volume of changes, you can set a pulse rate so that changes are delivered periodically, in optimally coalesced blocks. For example, a stream containing three ticker symbols may generate thousands of updates every second. You can set the pulse period to control the frequency at which you receive updates when viewing the stream. If you set the pulse to refresh every 5 seconds, the subscription then delivers, at most, one updated record for each of the three symbols every five seconds.

There are two preferences that control the subscription feature in ESP Studio: StreamViewer pulsed subscribe interval and Other pulsed subscribe interval. Both preferences are measured in seconds. If either of these preferences is set to 0, then Studio does not perform a pulsed subscription on the related stream. Note that if you have a small data set and you set the pulse to refresh frequently, such as once every 1 or 2 seconds, the Stream View may be empty for some streams because there are no new updates.

To change the default settings:

  1. Choose Window > Preferences.
  2. In the left pane, expand SAP Sybase Event Stream Processor, and then expand Run Test.
  3. Enter new values for StreamViewer pulsed subscribe interval or Other pulsed subscribe interval or both.
  4. Click Apply.
  5. Click OK to close the dialog.