Transport.SetBatchSize
Method
Visual Basic
Not supported.
C#
public virtual voidSetBatchSize
(
uint numBytes );
Purpose
Enable outbound batching of data from IPM, and set the batch size (in bytes).
Remarks
This type of batching is available only in the IPM library. It is not available in the standard (daemon-based) Rendezvous library, and this call throws an error exception.
When the batch size is greater than zero, IPM transfers data to the network in batches. This option can increase throughput, at the cost of higher latency.
When the batch size is zero, IPM transfers data to the network immediately, for lowest latency.
If you do not explicitly set the batch size using this call, then the default behavior disables outbound batching.
Note |
Contraindications These conditions characterize situations in which we do not recommend batching:
|
Parameter |
Description |
|
Set the batch size (in bytes). Zero is a special value, which disables batching for the transport. |