Microsoft BizTalk Server 2004
BufferedEventStream Class

Enables the Business Activity Monitoring (BAM) event data to be buffered in memory before writing out to the Primary Import database.

For a list of all members of this type, see BufferedEventStream Members.

System.Object
   Microsoft.BizTalk.Bam.EventObservation.EventStream
      Microsoft.BizTalk.Bam.EventObservation.BufferedEventStream

[Visual Basic]
Public Class BufferedEventStream
   Inherits EventStream
[C#]
public class BufferedEventStream : EventStream
[C++]
public __gc class BufferedEventStream : public EventStream
[JScript]
public class BufferedEventStream extends EventStream

Remarks

Use this interface to maximize the performance of an application sending tracking data to BAM.

If you use the DirectEventStream class, the application must wait until the data is placed in the tables, it must additionally wait as triggers for real-time aggregation fire, and it must accept and process errors in the data writing process. These delays cause performance degradation. A way to avoid this degradation is to use the BufferedEventStream class.

The BufferedEventStream class enables events to be written quickly in binary form to the Store-and-Forward database, in order that they can be processed by the Event Bus Service later and use the CPU time of the different computers that comprise the Event Bus Cluster.

Even though using the BufferedEventStream class involves asynchronous processing, it is transaction-consistent; this means that application data and Event Bus data are stored in the same transaction. The result of this is that application state that is update in a .NET automatic transaction and events data are never mismatched. If the automatic .NET Transaction in the application succeeds, the event data collected during the transaction is available to BAM with a small latency.

Important  Instances of the BufferedEventStream class must have access to the TDDS_InsertTrackingData stored procedure to function correctly.

Thread Safety

All members of this type are safe for multithreaded operations.

Requirements

Namespace: Microsoft.BizTalk.Bam.EventObservation

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003

Assembly: Microsoft.Biztalk.Bam.EventObservation (in Microsoft.Biztalk.Bam.EventObservation.dll)

See Also

BufferedEventStream Members | Microsoft.BizTalk.Bam.EventObservation Namespace

To download updated BizTalk Server 2004 Help from www.microsoft.com, go to http://go.microsoft.com/fwlink/?linkid=20616.

Copyright © 2004 Microsoft Corporation.
All rights reserved.
Page view tracker